################################################################################
# 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 src/core/wdt/subdir.mk
-include src/core/usbhid-rom/subdir.mk
-include src/core/usbcdc/subdir.mk
-include src/core/uart/subdir.mk
-include src/core/timer32/subdir.mk
-include src/core/timer16/subdir.mk
-include src/core/systick/subdir.mk
-include src/core/ssp/subdir.mk
-include src/core/pmu/subdir.mk
-include src/core/libc/subdir.mk
-include src/core/i2c/subdir.mk
-include src/core/gpio/subdir.mk
-include src/core/cpu/subdir.mk
-include src/core/cmd/subdir.mk
-include src/core/adc/subdir.mk
-include inc/drivers/sensors/lm75b/subdir.mk
-include inc/drivers/eeprom/mcp24aa/subdir.mk
-include inc/drivers/eeprom/at25040/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: HID_Expresso.axf

# Tool invocations
HID_Expresso.axf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: MCU Linker'
	arm-none-eabi-gcc -nodefaultlibs -nostdlib -Xlinker -Map=HID_Expresso.map -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "HID_Expresso_Debug.ld" -o"HID_Expresso.axf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '
	$(MAKE) --no-print-directory post-build

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

post-build:
	-@echo 'Performing post-build steps'
	-arm-none-eabi-size HID_Expresso.axf; # arm-none-eabi-objcopy -O binary HID_Expresso.axf HID_Expresso.bin ; checksum -p LPC1343 -d HID_Expresso.bin;
	-@echo ' '

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

-include ../makefile.targets
