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

SHELL = cmd.exe

CG_TOOL_ROOT := C:/ti/ccstheia151/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./mcan_ex4_transmit.o" \
"./device/bitfield_structs.o" \
"./device/codestartbranch.o" \
"./device/device.o" \
"../f29h85x_flash_lnk.cmd" \
$(GEN_CMDS__FLAG) \
-Wl,-ldriverlib.lib \
-Wl,-lsfo.lib \
-Wl,-lF29H85x_NWFlashAPI_v21.00.00.00.lib \
-Wl,-lsecurity_drivers.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 subdir_rules.mk
-include device/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 += \
mcan_ex4_transmit.out 

EXE_OUTPUTS__QUOTED += \
"mcan_ex4_transmit.out" 


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

# Tool invocations
mcan_ex4_transmit.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: C2000 Linker'
	"C:/ti/ccstheia151/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29clang.exe" -O1 -DDEBUG -D_FLASH -g -Qunused-arguments -Wl,-m"mcan_ex4_transmit.map" -Wl,--heap_size=0x400 -Wl,--stack_size=0x2000 -Wl,-i"C:/ti/f29h85x-sdk_1_01_00_00/source/driverlib/ccs" -Wl,-i"C:/ti/f29h85x-sdk_1_01_00_00/source/flash_api/lib" -Wl,-i"C:/ti/f29h85x-sdk_1_01_00_00/source/calibration/hrpwm/lib" -Wl,-i"C:/ti/f29h85x-sdk_1_01_00_00/source/security/ccs" -Wl,-i"C:/ti/ccstheia151/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/lib" -Wl,--reread_libs -Wl,--define=_FLASH -Wl,--diag_suppress=10325-D -Wl,--diag_suppress=10063-D -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="mcan_ex4_transmit_linkInfo.xml" -Wl,--rom_model -o "mcan_ex4_transmit.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(EXE_OUTPUTS__QUOTED)
	-$(RM) "mcan_ex4_transmit.o" "device\bitfield_structs.o" "device\codestartbranch.o" "device\device.o" 
	-$(RM) "mcan_ex4_transmit.d" "device\bitfield_structs.d" "device\device.d" 
	-$(RM) "device\codestartbranch.d" 
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-C:/ti/ccstheia151/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29objcopy.exe --remove-section=cert -O binary mcan_ex4_transmit.out mcan_ex4_transmit.bin
	-$(PYTHON) C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_rom_image_gen.py --image-bin mcan_ex4_transmit.bin --core C29 --swrv 1 --loadaddr 0x10001000 --sign-key C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_gpkey.pem --out-image mcan_ex4_transmit_cert.bin --device f29h85x --boot FLASH --img_integ no
	-C:/ti/ccstheia151/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29objcopy.exe --update-section cert=C29-cert-pad.bin mcan_ex4_transmit.out mcan_ex4_transmit_cert.out
	-$(DELETE) mcan_ex4_transmit.out C29-cert-pad.bin
	-$(RENAME) mcan_ex4_transmit_cert.out mcan_ex4_transmit.out
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

