################################################################################
# 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 prog/subdir.mk
-include misc/subdir.mk
-include decoders/xm/subdir.mk
-include decoders/mod/subdir.mk
-include decoders/helix_fixpt/real/arm/subdir.mk
-include decoders/helix_fixpt/real/subdir.mk
-include decoders/helix_fixpt/subdir.mk
-include dbgu/subdir.mk
-include board/subdir.mk
-include STM32F4xx_StdPeriph_Driver/src/subdir.mk
-include FatFs/subdir.mk
-include CoOSTasks/subdir.mk
-include CoOS/kernel/subdir.mk
-include CoOS/subdir.mk
-include CMSIS/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
endif

-include ../makefile.defs

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

SECONDARY_LIST += \
STM32F4_player.lst \

SECONDARY_SIZE += \
STM32F4_player.siz \


# All Target
all: STM32F4_player.elf secondary-outputs

# Tool invocations
STM32F4_player.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: ARM Yagarto Windows GCC C Linker'
	arm-none-eabi-gcc -T"D:\Projects\Soft\STM32F4_player\stm32f4xx_flash.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,STM32F4_player.map -mcpu=cortex-m4 -mthumb -g3 -gdwarf-2 -o "STM32F4_player.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

STM32F4_player.hex: STM32F4_player.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Create Flash Image'
	arm-none-eabi-objcopy -O ihex STM32F4_player.elf  "STM32F4_player.hex"
	@echo 'Finished building: $@'
	@echo ' '

STM32F4_player.lst: STM32F4_player.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Create Listing'
	arm-none-eabi-objdump -h -S STM32F4_player.elf > "STM32F4_player.lst"
	@echo 'Finished building: $@'
	@echo ' '

STM32F4_player.siz: STM32F4_player.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Print Size'
	arm-none-eabi-size  --format=berkeley STM32F4_player.elf
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(SECONDARY_SIZE)$(OBJS)$(C_DEPS)$(ASM_DEPS)$(SECONDARY_FLASH)$(EXECUTABLES)$(SECONDARY_LIST)$(S_UPPER_DEPS) STM32F4_player.elf
	-@echo ' '

secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
