################################################################################
# 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 09_MQXLite/psp/cortex_m/core/M0/subdir.mk
-include 09_MQXLite/psp/cortex_m/subdir.mk
-include 09_MQXLite/bsp/subdir.mk
-include 09_MQXLite/app/subdir.mk
-include 08_Source/subdir.mk
-include 07_Soft_Component/printf/subdir.mk
-include 07_Soft_Component/common/subdir.mk
-include 06_App_Component/light/subdir.mk
-include 05_Driver/uart/subdir.mk
-include 05_Driver/spi/subdir.mk
-include 05_Driver/rf/subdir.mk
-include 05_Driver/pwm/subdir.mk
-include 05_Driver/pit/subdir.mk
-include 05_Driver/incap/subdir.mk
-include 05_Driver/gpio/subdir.mk
-include 05_Driver/flash/subdir.mk
-include 05_Driver/adc/subdir.mk
-include 03_MCU/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_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 += \
KW01-PCNode.hex \

SECONDARY_LIST += \
KW01-PCNode.lst \

SECONDARY_SIZE += \
KW01-PCNode.siz \


# All Target
all: KW01-PCNode.elf secondary-outputs

# Tool invocations
KW01-PCNode.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: Cross ARM C++ Linker'
	arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g3 -T "F:/迅雷下载/KW01_CD_20160405/KW01-CD/KW01-CD(V6.3)-20160419/02-software/program/KW01-PCNode-20160402/04_Linker_File/intflash.ld" -nostartfiles -Xlinker --gc-sections -L"F:\迅雷下载\KW01_CD_20160405\KW01-CD\KW01-CD(V6.3)-20160419\02-software\program\KW01-PCNode-20160402\09_MQXLite\kernel" -Wl,-Map,"KW01-PCNode.map" -n --specs=nosys.specs -o "KW01-PCNode.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

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

KW01-PCNode.lst: KW01-PCNode.elf
	@echo 'Invoking: Cross ARM GNU Create Listing'
	arm-none-eabi-objdump --source --all-headers --demangle --line-numbers --wide "KW01-PCNode.elf" > "KW01-PCNode.lst"
	@echo 'Finished building: $@'
	@echo ' '

KW01-PCNode.siz: KW01-PCNode.elf
	@echo 'Invoking: Cross ARM GNU Print Size'
	arm-none-eabi-size --format=berkeley "KW01-PCNode.elf"
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(SECONDARY_SIZE)$(C++_DEPS)$(OBJS)$(C_DEPS)$(ASM_DEPS)$(CC_DEPS)$(SECONDARY_FLASH)$(CPP_DEPS)$(CXX_DEPS)$(C_UPPER_DEPS)$(SECONDARY_LIST)$(S_UPPER_DEPS) KW01-PCNode.elf
	-@echo ' '

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

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
