################################################################################
# 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 src/subdir.mk
-include Libraries/STM32F4xx_StdPeriph_Driver/src/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 += \
_template_stm32f4_gnuarm.hex \

SECONDARY_LIST += \
_template_stm32f4_gnuarm.lst \

SECONDARY_SIZE += \
_template_stm32f4_gnuarm.siz \


# All Target
all: _template_stm32f4_gnuarm.elf secondary-outputs

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

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

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

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

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

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

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
