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

SHELL = cmd.exe

CG_TOOL_ROOT := C:/CCStudio_v3.3/ccs820/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32

GEN_OPTS__FLAG := @"configPkg/compiler.opt"
GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"

ORDERED_OBJS += \
"./hsr_prp_menu.o" \
"./hsr_prp_soc_small.o" \
"./hsr_prp_tools.o" \
"./small_main.o" \
"./board_AM437x/idkAM437x/board_gpioLed.o" \
"./board_AM437x/idkAM437x/board_i2cLed.o" \
"./board_AM437x/idkAM437x/board_phy.o" \
"./board_AM437x/idkAM437x/board_spi.o" \
"./board_common/board_misc.o" \
"./board_common/delay_us.o" \
"./board_common/icss_emac_osal.o" \
"./board_common/osdrv_ndkdeviceconfig.o" \
"./osal/ClockP_tirtos.o" \
"./osal/EventP_tirtos.o" \
"./osal/MailboxP_tirtos.o" \
"./osal/MiscP_tirtos.o" \
"./osal/OSP_tirtos.o" \
"./osal/SwiP_tirtos.o" \
"./osal/TaskP_tirtos.o" \
"./soc_am437x/GPIO_soc.o" \
"./soc_am437x/I2C_soc.o" \
"./soc_am437x/SPI_soc.o" \
"./soc_am437x/UART_soc.o" \
"./soc_am437x/icss_emacSoc.o" \
"./soc_am437x/pruicss_soc.o" \
$(GEN_CMDS__FLAG) \
-Wl,--start-group \
-Wl,-T",C:/ti/pdk_am437x_1_0_14/packages/ti/build/pruss/lnk_a8_a9_a15_REV1_2.cmd" \
-lstdc++ \
-lm \
-lrdimon \
-lgcc \
-lprp_lib_AM437x_arm \
-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 board_AM437x/idkAM437x/subdir_vars.mk
-include board_common/subdir_vars.mk
-include osal/subdir_vars.mk
-include soc_am437x/subdir_vars.mk
-include subdir_rules.mk
-include board_AM437x/idkAM437x/subdir_rules.mk
-include board_common/subdir_rules.mk
-include osal/subdir_rules.mk
-include soc_am437x/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 += \
prp_small_AM437x.out \

EXE_OUTPUTS__QUOTED += \
"prp_small_AM437x.out" \

BIN_OUTPUTS += \
prp_small_AM437x.hex \

BIN_OUTPUTS__QUOTED += \
"prp_small_AM437x.hex" \


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

# Tool invocations
prp_small_AM437x.out: $(OBJS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: GNU Linker'
	"C:/CCStudio_v3.3/ccs820/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -DSOC_AM437x -DBUILD_PRP -DLRE_DEBUG_STATS -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"prp_small_AM437x.map" -nostartfiles -nodefaultlibs -static -Wl,--gc-sections -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/snmp/stack_lib/am437x/a9" -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/ptp/lib/am437x/a9" -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/lib/prp/am437x/a9" -L"C:/ti/bios_6_75_02_00/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -Wl,--start-group --specs=nano.specs -static C:\ti\pdk_am437x_1_0_14\packages/ti/drv/icss_emac/firmware/icss_dualemac/bin/am437x/a9host/REV1/icss_dualemac_PRU0.bin C:\ti\pdk_am437x_1_0_14\packages/ti/drv/icss_emac/firmware/icss_dualemac/bin/am437x/a9host/REV1/icss_dualemac_PRU1.bin -o"prp_small_AM437x.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

prp_small_AM437x.hex: $(EXE_OUTPUTS)
	@echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo 'Invoking: GNU Objcopy Utility'
	"C:/CCStudio_v3.3/ccs820/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "prp_small_AM437x.hex"
	@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) "hsr_prp_menu.o" "hsr_prp_soc_small.o" "hsr_prp_tools.o" "small_main.o" "board_AM437x\idkAM437x\board_gpioLed.o" "board_AM437x\idkAM437x\board_i2cLed.o" "board_AM437x\idkAM437x\board_phy.o" "board_AM437x\idkAM437x\board_spi.o" "board_common\board_misc.o" "board_common\delay_us.o" "board_common\icss_emac_osal.o" "board_common\osdrv_ndkdeviceconfig.o" "osal\ClockP_tirtos.o" "osal\EventP_tirtos.o" "osal\MailboxP_tirtos.o" "osal\MiscP_tirtos.o" "osal\OSP_tirtos.o" "osal\SwiP_tirtos.o" "osal\TaskP_tirtos.o" "soc_am437x\GPIO_soc.o" "soc_am437x\I2C_soc.o" "soc_am437x\SPI_soc.o" "soc_am437x\UART_soc.o" "soc_am437x\icss_emacSoc.o" "soc_am437x\pruicss_soc.o" 
	-$(RM) "hsr_prp_menu.d" "hsr_prp_soc_small.d" "hsr_prp_tools.d" "small_main.d" "board_AM437x\idkAM437x\board_gpioLed.d" "board_AM437x\idkAM437x\board_i2cLed.d" "board_AM437x\idkAM437x\board_phy.d" "board_AM437x\idkAM437x\board_spi.d" "board_common\board_misc.d" "board_common\delay_us.d" "board_common\icss_emac_osal.d" "board_common\osdrv_ndkdeviceconfig.d" "osal\ClockP_tirtos.d" "osal\EventP_tirtos.d" "osal\MailboxP_tirtos.d" "osal\MiscP_tirtos.d" "osal\OSP_tirtos.d" "osal\SwiP_tirtos.d" "osal\TaskP_tirtos.d" "soc_am437x\GPIO_soc.d" "soc_am437x\I2C_soc.d" "soc_am437x\SPI_soc.d" "soc_am437x\UART_soc.d" "soc_am437x\icss_emacSoc.d" "soc_am437x\pruicss_soc.d" 
	-$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-C:\ti\pdk_am437x_1_0_14\packages/pdkAppImageCreate.bat C:\ti\pdk_am437x_1_0_14\packages C:/CCStudio_v3.3/ccs820/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32 C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/projects/prp_small_AM437x/AM437x_release prp_small_AM437x AM437x arm
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

