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

SHELL = cmd.exe

CG_TOOL_ROOT := C:/ti/ccs2020/ccs/tools/compiler/ti-cgt-c29_2.0.0.STS

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./ethercat_subdevice_cpu1_hal.o" \
"./device/codestartbranch.o" \
"./device/device.o" \
"./f29h85x_cpu1_echoback_solution/coeappl.o" \
"./f29h85x_cpu1_echoback_solution/ecatappl.o" \
"./f29h85x_cpu1_echoback_solution/ecatcoe.o" \
"./f29h85x_cpu1_echoback_solution/ecatslv.o" \
"./f29h85x_cpu1_echoback_solution/f29x_cpu1_echoback.o" \
"./f29h85x_cpu1_echoback_solution/f29x_cpu1_hw.o" \
"./f29h85x_cpu1_echoback_solution/f29x_cpu1_system.o" \
"./f29h85x_cpu1_echoback_solution/mailbox.o" \
"./f29h85x_cpu1_echoback_solution/objdef.o" \
"./f29h85x_cpu1_echoback_solution/sdoserv.o" \
"C:/ti/f29h85x-sdk_1_02_00_00/source/driverlib/ccs/driverlib.lib" \
"../f29h85x_ram_lnk.cmd" \
$(GEN_CMDS__FLAG) \
-Wl,-ldriverlib.lib \
-Wl,-lsfo.lib \
-Wl,-lF29H85x_NWFlashAPI_v21.00.00.00.lib \
-Wl,-lsecurity_drivers.lib \
-Wl,-ldpl_nortos.lib \
-Wl,-lsdl_debug.lib \

-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 device/subdir_vars.mk
-include f29h85x_cpu1_echoback_solution/subdir_vars.mk
-include subdir_rules.mk
-include device/subdir_rules.mk
-include f29h85x_cpu1_echoback_solution/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 += \
new_f29h85x_echoback_flash_changed.out 

EXE_OUTPUTS__QUOTED += \
"new_f29h85x_echoback_flash_changed.out" 


# All Target
all: $(OBJS) $(CMD_SRCS) $(LIB_SRCS) $(GEN_CMDS)
	@$(MAKE) --no-print-directory -Onone "new_f29h85x_echoback_flash_changed.out"

# Tool invocations
new_f29h85x_echoback_flash_changed.out: $(OBJS) $(CMD_SRCS) $(LIB_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: C2000 Linker'
	"C:/ti/ccs2020/ccs/tools/compiler/ti-cgt-c29_2.0.0.STS/bin/c29clang.exe" -O1 -DDEBUG -DETHERCAT_STACK -DRAM -DCPU1 -g -Wl,-m"new_f29h85x_echoback_flash_changed.map" -Wl,--heap_size=0x400 -Wl,--stack_size=0x400 -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/driverlib/ccs" -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/flash_api/lib" -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/calibration/hrpwm/lib" -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/security/ccs" -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/kernel/nortos/ccs" -Wl,-i"C:/ti/f29h85x-sdk_1_02_00_00/source/sdl/ccs" -Wl,-i"C:/ti/ccs2020/ccs/tools/compiler/ti-cgt-c29_2.0.0.STS/lib" -Wl,--reread_libs -Wl,--define=RAM -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="new_f29h85x_echoback_flash_changed_linkInfo.xml" -Wl,--entry_point=code_start -Wl,--rom_model -o "new_f29h85x_echoback_flash_changed.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(EXE_OUTPUTS__QUOTED)
	-$(RM) "ethercat_subdevice_cpu1_hal.o" "device\codestartbranch.o" "device\device.o" "f29h85x_cpu1_echoback_solution\coeappl.o" "f29h85x_cpu1_echoback_solution\ecatappl.o" "f29h85x_cpu1_echoback_solution\ecatcoe.o" "f29h85x_cpu1_echoback_solution\ecatslv.o" "f29h85x_cpu1_echoback_solution\f29x_cpu1_echoback.o" "f29h85x_cpu1_echoback_solution\f29x_cpu1_hw.o" "f29h85x_cpu1_echoback_solution\f29x_cpu1_system.o" "f29h85x_cpu1_echoback_solution\mailbox.o" "f29h85x_cpu1_echoback_solution\objdef.o" "f29h85x_cpu1_echoback_solution\sdoserv.o" 
	-$(RM) "ethercat_subdevice_cpu1_hal.d" "device\device.d" "f29h85x_cpu1_echoback_solution\coeappl.d" "f29h85x_cpu1_echoback_solution\ecatappl.d" "f29h85x_cpu1_echoback_solution\ecatcoe.d" "f29h85x_cpu1_echoback_solution\ecatslv.d" "f29h85x_cpu1_echoback_solution\f29x_cpu1_echoback.d" "f29h85x_cpu1_echoback_solution\f29x_cpu1_hw.d" "f29h85x_cpu1_echoback_solution\f29x_cpu1_system.d" "f29h85x_cpu1_echoback_solution\mailbox.d" "f29h85x_cpu1_echoback_solution\objdef.d" "f29h85x_cpu1_echoback_solution\sdoserv.d" 
	-$(RM) "device\codestartbranch.d" 
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-C:/ti/ccs2020/ccs/tools/compiler/ti-cgt-c29_2.0.0.STS/bin/c29objcopy.exe -O binary new_f29h85x_echoback_flash_changed.out new_f29h85x_echoback_flash_changed.bin
	-$(call IF_EQUAL_OPEN, 1, 0) $(PYTHON) C:/ti/f29h85x-sdk_1_02_00_00/tools/boot/signing/mcu_rom_image_gen.py --image-bin new_f29h85x_echoback_flash_changed.bin --core C29 --swrv 1 --loadaddr 0x200E1000 --sign-key C:/ti/f29h85x-sdk_1_02_00_00/tools/boot/signing/mcu_gpkey.pem --out-image new_f29h85x_echoback_flash_changed_cert.bin --device f29h85x --boot RAM --img_integ no $(IF_EQUAL_CLOSE)
	-$(call IF_EQUAL_OPEN, 1, 1) C:/ti/f29h85x-sdk_1_02_00_00/tools/misc/$(UPDATEDUMMYCERT) $(DUMMY_CERT_RAM) new_f29h85x_echoback_flash_changed.bin $(IF_EQUAL_CLOSE)
	-$(call IF_EQUAL_OPEN, 1, 1) $(CONCAT) $(DUMMY_CERT_RAM) new_f29h85x_echoback_flash_changed.bin > new_f29h85x_echoback_flash_changed_cert.bin $(IF_EQUAL_CLOSE)
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

