################################################################################
# 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 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 += \
3kW_PFC.hex \

SECONDARY_LIST += \
3kW_PFC.lst \

SECONDARY_SIZE += \
3kW_PFC.siz \


LIST_FILES = $(addsuffix .o.lst, $(basename $(OBJS))) 
MAP_FILE = "3kW_PFC.map"

TOOLCHAIN_ROOT=C:/DAVEv4-64Bit/DAVE-4.3.2/eclipse/ARM-GCC-49
PROJECT_LOC=C:/Users/menesesh/Desktop/DMeneses/acdc_digital_control/trunk/PFC/3kW_DualBoost_ISLE/3kW_PFC

# All Target
all: 3kW_PFC.elf secondary-outputs

# Tool invocations
3kW_PFC.elf: $(OBJS) ../3kW_PFC.ld $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: ARM-GCC C Linker'
	$(file >objects.rsp,$(OBJS))
	"$(TOOLCHAIN_ROOT)/bin/arm-none-eabi-gcc" -T"../3kW_PFC.ld" -nostartfiles -specs=nano.specs -specs=nosys.specs -L"C:\DAVEv4-64Bit\DAVE-4.3.2\eclipse\/../CMSIS/Infineon/Lib" -L"C:\DAVEv4-64Bit\DAVE-4.3.2\eclipse\/../Examples/Lib" -L"C:\DAVEv4-64Bit\DAVE-4.3.2\eclipse\/../emWin/Start/GUI" -Wl,-Map,$(MAP_FILE) -mcpu=cortex-m0 -mthumb -g3 -gdwarf-2 -o "3kW_PFC.elf" "@objects.rsp" $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo.
3kW_PFC.hex: 3kW_PFC.elf
	@echo 'Invoking: ARM-GCC Create Flash Image'
	"$(TOOLCHAIN_ROOT)/bin/arm-none-eabi-objcopy" -O ihex "3kW_PFC.elf" "3kW_PFC.hex"
	@echo 'Finished building: $@'
	@echo.
3kW_PFC.lst: 3kW_PFC.elf
	@echo 'Invoking: ARM-GCC Create Listing'
	"$(TOOLCHAIN_ROOT)/bin/arm-none-eabi-objdump" -h -S "3kW_PFC.elf" > "3kW_PFC.lst"
	@echo 'Finished building: $@'
	@echo.
3kW_PFC.siz: 3kW_PFC.elf
	@echo 'Invoking: ARM-GCC Print Size'
	"$(TOOLCHAIN_ROOT)/bin/arm-none-eabi-size" --format=berkeley 3kW_PFC.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) 3kW_PFC.elf $(LIST_FILES) $(MAP_FILE) objects.rsp
	-@echo.
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
