################################################################################
# Automatically-generated file. Do not edit!
################################################################################

SHELL = cmd.exe

CG_TOOL_ROOT := D:/Softwares/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS

GEN_OPTS__FLAG := --cmd_file="configPkg/compiler.opt" 
GEN_CMDS__FLAG := -l"configPkg/linker.cmd" 

ORDERED_OBJS += \
"./main.obj" \
"./source/demo.obj" \
"./source/iwr_gpio.obj" \
"../r4_linker.cmd" \
"../r4f_linker.cmd" \
$(GEN_CMDS__FLAG) \
-llibesm_xwr14xx.aer4f \
-llibsoc_xwr14xx.aer4f \
-llibspi_xwr14xx.aer4f \
-llibqspi_xwr14xx.aer4f \
-llibqspiflash_xwr14xx.aer4f \
-llibpinmux_xwr14xx.aer4f \
-llibuart_xwr14xx.aer4f \
-llibmailbox_xwr14xx.aer4f \
-llibmmwavelink_xwr14xx.aer4f \
-llibmmwave_xwr14xx.aer4f \
-llibadcbuf_xwr14xx.aer4f \
-llibcrc_xwr14xx.aer4f \
-llibdma_xwr14xx.aer4f \
-llibedma_xwr14xx.aer4f \
-llibhwa_xwr14xx.aer4f \
-llibosal_xwr14xx.aer4f \
-llibc.a \

-include ../makefile.init

RM := DEL /F
RMDIR := RMDIR /S/Q

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir_vars.mk
-include source/subdir_vars.mk
-include subdir_rules.mk
-include source/subdir_rules.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C55_DEPS)),)
-include $(C55_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(S67_DEPS)),)
-include $(S67_DEPS)
endif
ifneq ($(strip $(S62_DEPS)),)
-include $(S62_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(OPT_DEPS)),)
-include $(OPT_DEPS)
endif
ifneq ($(strip $(C??_DEPS)),)
-include $(C??_DEPS)
endif
ifneq ($(strip $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(S??_DEPS)),)
-include $(S??_DEPS)
endif
ifneq ($(strip $(C64_DEPS)),)
-include $(C64_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(S64_DEPS)),)
-include $(S64_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(CLA_DEPS)),)
-include $(CLA_DEPS)
endif
ifneq ($(strip $(S55_DEPS)),)
-include $(S55_DEPS)
endif
ifneq ($(strip $(SV7A_DEPS)),)
-include $(SV7A_DEPS)
endif
ifneq ($(strip $(C62_DEPS)),)
-include $(C62_DEPS)
endif
ifneq ($(strip $(C67_DEPS)),)
-include $(C67_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(K_DEPS)),)
-include $(K_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C43_DEPS)),)
-include $(C43_DEPS)
endif
ifneq ($(strip $(S43_DEPS)),)
-include $(S43_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(SA_DEPS)),)
-include $(SA_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
EXE_OUTPUTS += \
level_sense_demo.xer4f \

EXE_OUTPUTS__QUOTED += \
"level_sense_demo.xer4f" \

BIN_OUTPUTS += \
level_sense_demo.hex \

BIN_OUTPUTS__QUOTED += \
"level_sense_demo.hex" \


# All Target
all:
	@$(MAKE) --no-print-directory pre-build
	@$(MAKE) --no-print-directory main-build

# Main-build Target
main-build: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@$(MAKE) --no-print-directory -Onone "level_sense_demo.xer4f"

# Tool invocations
level_sense_demo.xer4f: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: ARM Linker'
	"D:/Softwares/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O4 --opt_for_speed=0 --define=SOC_XWR14XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x10000 --define=DebugP_ASSERT_ENABLED -g --c11 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi -z -m"level_sense_demo.map" --heap_size=0x800 --stack_size=0x800 -i"D:/Softwares/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/control/mmwave/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/control/mmwavelink/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/esm/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/adcbuf/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/crc/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/dma/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/edma/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/hwa/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/mailbox/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/pinmux/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/soc/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/spi/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/qspi/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/qspiflash/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/uart/lib" -i"D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/ti/drivers/osal/lib" -i"D:/Softwares/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --reread_libs --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x10000 --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="level_sense_demo_linkInfo.xml" --rom_model --unused_section_elimination=on -o "level_sense_demo.xer4f" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

level_sense_demo.hex: $(EXE_OUTPUTS)
	@echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo 'Invoking: ARM Hex Utility'
	"D:/Softwares/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armhex"  -o "level_sense_demo.hex" $(EXE_OUTPUTS__QUOTED)
	@echo 'Finished building: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)
	-$(RM) "main.obj" "source\demo.obj" "source\iwr_gpio.obj" 
	-$(RM) "main.d" "source\demo.d" "source\iwr_gpio.d" 
	-$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
	-@echo 'Finished clean'
	-@echo ' '

pre-build:
	-rm -f E:/Codes/CCS/1443_low_power_4k_V13/level_sense_demo/level_sense_demo.bin
	-@echo ' '

post-build:
	-D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/scripts/ImageCreator/create_ConfigRPRC/create_ConfigRPRC.exe -s 0x00000006
	-D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/scripts/ImageCreator/out2rprc/out2rprc.exe level_sense_demo.xer4f level_sense_demo.tmp
	-D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 level_sense_demo.bin 0xCF910000 ar1xxx_conf.bin 0x35510000 level_sense_demo.tmp 0xb5510000 D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/firmware/radarss/xwr12xx_xwr14xx_radarss_rprc.bin
	-D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe level_sense_demo.bin level_sense_demo.tmp
	-D:/Softwares/CCS/mmWave_sdk/mmwave_sdk_02_01_00_04/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe level_sense_demo.bin
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

