################################################################################
# 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 subdir.mk
-include src/subdir.mk
-include objects.mk

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

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 

# All Target
all: LED.elf

# Tool invocations
LED.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: Cygwin C Linker'
	arm-none-eabi-gcc -L../lib_thumb2 -Xlinker --wrap -Xlinker malloc -Xlinker --wrap -Xlinker realloc -Xlinker --wrap -Xlinker calloc -Xlinker --wrap -Xlinker free -Xlinker --gc-sections -Xlinker -Map=link.map -Xlinker -cref -Xlinker -u -Xlinker Reset_Handler -Xlinker -T../ld_script/stm32.ld -o"LED.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '
	$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) LED.elf
	-@echo ' '

post-build:
	-arm-none-eabi-objcopy -O ihex LED.elf LED.hex
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY: post-build

-include ../makefile.targets
