################################################################################
# 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 kernel/target/lpcxpresso1768_gcc/subdir.mk
-include kernel/syssvc/subdir.mk
-include kernel/pdic/uart/subdir.mk
-include kernel/library/subdir.mk
-include kernel/kernel/subdir.mk
-include kernel/subdir.mk
-include kernel/chip/lpc1700_gcc/subdir.mk
-include kernel/arch/arm_m_gcc/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: 801_i2c_pcf8570.axf

# Tool invocations
801_i2c_pcf8570.axf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: MCU Linker'
	arm-none-eabi-gcc -nostdlib -L"/home/takemasa/LPCxpresso/cmsis/Debug" -L"/home/takemasa/LPCxpresso/subsystems/Debug" -Xlinker -Map=801_i2c_pcf8570.map -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T ../kernel/target/lpcxpresso1768_gcc/lpc1768_rom.ld -o"801_i2c_pcf8570.axf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '
	$(MAKE) --no-print-directory post-build

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

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

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

-include ../makefile.targets
