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

SHELL = cmd.exe

CG_TOOL_ROOT := C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./diag_common_cfg.o" \
"./led_industrial_test.o" \
-Wl,-T"../linker_a53.lds" \
$(GEN_CMDS__FLAG) \
-Wl,--start-group \
-l:ti.board.aa53fg \
-l:ti.drv.uart.aa53fg \
-l:ti.osal.aa53fg \
-l:ti.drv.i2c.aa53fg \
-l:ti.drv.gpio.aa53fg \
-l:ti.drv.spi.aa53fg \
-l:ti.csl.aa53fg \
-l:ti.csl.init.aa53fg \
-l:sciclient.aa53fg \
-lgcc \
-lm \
-lrdimon \
-lc \
-Wl,--end-group \

-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 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 += \
baremetal_template_app_am65xx_a53.out \

EXE_OUTPUTS__QUOTED += \
"baremetal_template_app_am65xx_a53.out" \

BIN_OUTPUTS += \
baremetal_template_app_am65xx_a53.hex \

BIN_OUTPUTS__QUOTED += \
"baremetal_template_app_am65xx_a53.hex" \


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

# Tool invocations
baremetal_template_app_am65xx_a53.out: $(OBJS) $(LDS_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: GNU Linker'
	"C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc.exe" -Dam65xx_evm -DSOC_AM65XX -Dam65xx -DBUILD_MPU1_0 -DBUILD_MPU -DCSL_A53_AARCH64 -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Werror -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -mcpu=cortex-a53+fp+simd -Wl,-Map,"baremetal_template_app_am65xx_a53.map" --entry Entry -nostartfiles -static -Wl,--gc-sections -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/board/lib/am65xx_evm/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/drv/uart/lib/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/osal/lib/nonos/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/drv/i2c/lib/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/drv/gpio/lib/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/drv/spi/lib/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/csl/lib/am65xx/a53/release/" -L"C:/ti/pdk_am65xx_1_0_5/packages/ti/drv/sciclient/lib/am65xx/mpu1_0/release/" -L"C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/arm-none-eabi/lib/hard" -o"baremetal_template_app_am65xx_a53.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

baremetal_template_app_am65xx_a53.hex: $(EXE_OUTPUTS)
	@echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo 'Invoking: GNU Objcopy Utility'
	"C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "baremetal_template_app_am65xx_a53.hex"
	@echo 'Finished building: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(BIN_OUTPUTS__QUOTED)$(EXE_OUTPUTS__QUOTED)
	-$(RM) "diag_common_cfg.o" "led_industrial_test.o" 
	-$(RM) "diag_common_cfg.d" "led_industrial_test.d" 
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-C:/ti/pdk_am65xx_1_0_5/packages/pdkAppImageCreate.bat C:/ti/pdk_am65xx_1_0_5/packages C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf C:/LEDtest/baremetal_template_app_am65xx_a53/Debug baremetal_template_app_am65xx_a53 am65xx mpu
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

