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

SHELL = cmd.exe

CG_TOOL_ROOT := c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2

ORDERED_OBJS += \
$(GEN_CMDS__FLAG) \
"./boot.obj" \
"./main.obj" \
"./MI/TI_MSPBoot_MI_FRAM.obj" \
"./Comm/PHY_DataLink/TI_MSPBoot_CI_PHYDL_eUSCI_I2C_slave.obj" \
"./Comm/NWK_APP/TI_MSPBoot_CI_NWK_APP_Simple.obj" \
"./AppMgr/Crc.obj" \
"./AppMgr/TI_MSPBoot_AppMgr.obj" \
"../Config/lnk_msp430FR5739_I2C_1KB_Boot.cmd" \
-l"libc.a" \
-l"libmath.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 MI/subdir_vars.mk
-include Config/subdir_vars.mk
-include Comm/PHY_DataLink/subdir_vars.mk
-include Comm/NWK_APP/subdir_vars.mk
-include AppMgr/subdir_vars.mk
-include subdir_rules.mk
-include MI/subdir_rules.mk
-include Config/subdir_rules.mk
-include Comm/PHY_DataLink/subdir_rules.mk
-include Comm/NWK_APP/subdir_rules.mk
-include AppMgr/subdir_rules.mk
-include objects.mk

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

-include ../makefile.defs

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

EXE_OUTPUTS__QUOTED += \
"MSPBoot.out" \

BIN_OUTPUTS += \
MSPBoot.hex \

BIN_OUTPUTS__QUOTED += \
"MSPBoot.hex" \


# All Target
all: MSPBoot.out

# Tool invocations
MSPBoot.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: $@'
	@echo 'Invoking: MSP430 Linker'
	"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --advice:power_severity=suppress --advice:power="all" -g --gcc --define=MSPBoot_SIMPLE --define=MSPBoot_CI_I2C --define=__MSP430FR5739__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal -z -m"MSPBoot.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" -i"c:/ti/ccsv6/ccs_base/msp430/lib" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --display_error_number --xml_link_info="MSPBoot_linkInfo.xml" -o "MSPBoot.out" $(ORDERED_OBJS)
	@echo 'Finished building target: $@'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

MSPBoot.hex: $(EXE_OUTPUTS)
	@echo 'Invoking: MSP430 Hex Utility'
	"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/hex430" --memwidth=8 --romwidth=8 -o "MSPBoot.hex" $(EXE_OUTPUTS__QUOTED)
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
	-$(RM) "boot.pp" "main.pp" "MI\TI_MSPBoot_MI_FRAM.pp" "Comm\PHY_DataLink\TI_MSPBoot_CI_PHYDL_eUSCI_I2C_slave.pp" "Comm\NWK_APP\TI_MSPBoot_CI_NWK_APP_Simple.pp" "AppMgr\Crc.pp" "AppMgr\TI_MSPBoot_AppMgr.pp" 
	-$(RM) "boot.obj" "main.obj" "MI\TI_MSPBoot_MI_FRAM.obj" "Comm\PHY_DataLink\TI_MSPBoot_CI_PHYDL_eUSCI_I2C_slave.obj" "Comm\NWK_APP\TI_MSPBoot_CI_NWK_APP_Simple.obj" "AppMgr\Crc.obj" "AppMgr\TI_MSPBoot_AppMgr.obj" 
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-@echo 'Create flash image: TI-TXT'
	-"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/hex430" --ti_txt "MSPBoot.out" -o "MSPBoot.txt" -order MS -romwidth 16
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY: post-build

-include ../makefile.targets

