################################################################################
# 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/SYSTIMER/subdir.mk
-include Dave/Generated/PDM_BCCU/subdir.mk
-include Dave/Generated/LED_LAMP/subdir.mk
-include Dave/Generated/GLOBAL_BCCU/subdir.mk
-include Dave/Generated/DIM_BCCU/subdir.mk
-include Dave/Generated/CPU_CTRL_XMC1/subdir.mk
-include Dave/Generated/CLOCK_XMC1/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 += \
LED_LAMP_WHITE_EXAMPLE_XMC12.hex \

SECONDARY_LIST += \
LED_LAMP_WHITE_EXAMPLE_XMC12.lst \

SECONDARY_SIZE += \
LED_LAMP_WHITE_EXAMPLE_XMC12.siz \


# All Target
all: LED_LAMP_WHITE_EXAMPLE_XMC12.elf secondary-outputs

# Tool invocations
LED_LAMP_WHITE_EXAMPLE_XMC12.elf: $(OBJS) ../linker_script.ld $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: ARM-GCC C Linker'
	"C:\DAVEv4\DAVE-4.1.2\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -T"../linker_script.ld" -nostartfiles -Xlinker --gc-sections -specs=nano.specs -Wl,-Map,"LED_LAMP_WHITE_EXAMPLE_XMC12.map" -mfloat-abi=soft -mcpu=cortex-m0 -mthumb -g -gdwarf-2 -o "LED_LAMP_WHITE_EXAMPLE_XMC12.elf" "@makefile.rsp" $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo.
LED_LAMP_WHITE_EXAMPLE_XMC12.hex: LED_LAMP_WHITE_EXAMPLE_XMC12.elf
	@echo 'Invoking: ARM-GCC Create Flash Image'
	"C:\DAVEv4\DAVE-4.1.2\eclipse\ARM-GCC-49/bin/arm-none-eabi-objcopy" -O ihex "LED_LAMP_WHITE_EXAMPLE_XMC12.elf"  "LED_LAMP_WHITE_EXAMPLE_XMC12.hex"
	@echo 'Finished building: $@'
	@echo.
LED_LAMP_WHITE_EXAMPLE_XMC12.lst: LED_LAMP_WHITE_EXAMPLE_XMC12.elf
	@echo 'Invoking: ARM-GCC Create Listing'
	"C:\DAVEv4\DAVE-4.1.2\eclipse\ARM-GCC-49/bin/arm-none-eabi-objdump" -h -S "LED_LAMP_WHITE_EXAMPLE_XMC12.elf" > "LED_LAMP_WHITE_EXAMPLE_XMC12.lst"
	@echo 'Finished building: $@'
	@echo.
LED_LAMP_WHITE_EXAMPLE_XMC12.siz: LED_LAMP_WHITE_EXAMPLE_XMC12.elf
	@echo 'Invoking: ARM-GCC Print Size'
	"C:\DAVEv4\DAVE-4.1.2\eclipse\ARM-GCC-49/bin/arm-none-eabi-size"  --format=berkeley "LED_LAMP_WHITE_EXAMPLE_XMC12.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) LED_LAMP_WHITE_EXAMPLE_XMC12.elf *.o *.*
	-@echo.
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
