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

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include Startup/subdir.mk
-include Libraries/XMCLib/src/subdir.mk
-include Libraries/Newlib/subdir.mk
-include Dave/Generated/subdir.mk
-include subdir.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 $(C_DEPS)),)
-include $(C_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
SECONDARY_FLASH += \
XMC45_Update_Firmware_A.hex \

SECONDARY_LIST += \
XMC45_Update_Firmware_A.lst \

SECONDARY_SIZE += \
XMC45_Update_Firmware_A.siz \


LIST_FILES = $(addsuffix .o.lst, $(basename $(OBJS))) 
MAP_FILE = XMC45_Update_Firmware_A.map

# All Target
all: XMC45_Update_Firmware_A.elf secondary-outputs

# Tool invocations
XMC45_Update_Firmware_A.elf: $(OBJS) ../linker_script.ld $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: ARM-GCC C Linker'
	$(file >objects.rsp,$(OBJS))
	"C:\DAVEv4\DAVE-4.2.6\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -T"../linker_script.ld" -nostartfiles -Xlinker --gc-sections -specs=nano.specs -specs=nosys.specs -Wl,-Map,$(MAP_FILE) -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o "XMC45_Update_Firmware_A.elf" "@objects.rsp" $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo.
XMC45_Update_Firmware_A.hex: XMC45_Update_Firmware_A.elf
	@echo 'Invoking: ARM-GCC Create Flash Image'
	"C:\DAVEv4\DAVE-4.2.6\eclipse\ARM-GCC-49/bin/arm-none-eabi-objcopy" -O binary "XMC45_Update_Firmware_A.elf"  firmware.bin
	@echo 'Finished building: $@'
	@echo.
XMC45_Update_Firmware_A.lst: XMC45_Update_Firmware_A.elf
	@echo 'Invoking: ARM-GCC Create Listing'
	"C:\DAVEv4\DAVE-4.2.6\eclipse\ARM-GCC-49/bin/arm-none-eabi-objdump" -h -S "XMC45_Update_Firmware_A.elf" > "XMC45_Update_Firmware_A.lst"
	@echo 'Finished building: $@'
	@echo.
XMC45_Update_Firmware_A.siz: XMC45_Update_Firmware_A.elf
	@echo 'Invoking: ARM-GCC Print Size'
	"C:\DAVEv4\DAVE-4.2.6\eclipse\ARM-GCC-49/bin/arm-none-eabi-size"  --format=berkeley "XMC45_Update_Firmware_A.elf"
	@echo 'Finished building: $@'
	@echo.
# Other Targets
clean:
	-$(RM) $(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ARM_GCC_FOR_XMC_LINKER_OUTPUT_TYPE_OUTPUTS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) XMC45_Update_Firmware_A.elf $(LIST_FILES) $(MAP_FILE) objects.rsp
	-@echo.
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
