this is a sample for mbed(LPC1768)
Release/makefile@0:3163adfd2cf1, 2015-11-19 (annotated)
- Committer:
- 1
- Date:
- Thu Nov 19 10:17:55 2015 +0800
- Revision:
- 0:3163adfd2cf1
????????????????????????
1.callback
2.thread
3.auto-connect,time-up
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
1 | 0:3163adfd2cf1 | 1 | ################################################################################ |
1 | 0:3163adfd2cf1 | 2 | # Automatically-generated file. Do not edit! |
1 | 0:3163adfd2cf1 | 3 | ################################################################################ |
1 | 0:3163adfd2cf1 | 4 | |
1 | 0:3163adfd2cf1 | 5 | -include ../makefile.init |
1 | 0:3163adfd2cf1 | 6 | |
1 | 0:3163adfd2cf1 | 7 | RM := rm -rf |
1 | 0:3163adfd2cf1 | 8 | |
1 | 0:3163adfd2cf1 | 9 | # All of the sources participating in the build are defined here |
1 | 0:3163adfd2cf1 | 10 | -include sources.mk |
1 | 0:3163adfd2cf1 | 11 | -include subdir.mk |
1 | 0:3163adfd2cf1 | 12 | -include serialization_lib/subdir.mk |
1 | 0:3163adfd2cf1 | 13 | -include mbed/variant/hal/TARGET_NXP/TARGET_LPC176X/subdir.mk |
1 | 0:3163adfd2cf1 | 14 | -include mbed/variant/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/subdir.mk |
1 | 0:3163adfd2cf1 | 15 | -include mbed/variant/cmsis/TARGET_NXP/TARGET_LPC176X/subdir.mk |
1 | 0:3163adfd2cf1 | 16 | -include mbed/core/common/subdir.mk |
1 | 0:3163adfd2cf1 | 17 | -include MQTT/MQTTPacket/subdir.mk |
1 | 0:3163adfd2cf1 | 18 | -include Libraries/rtos_TARGET_M3/TOOLCHAIN_GCC/subdir.mk |
1 | 0:3163adfd2cf1 | 19 | -include Libraries/rtos/rtx/subdir.mk |
1 | 0:3163adfd2cf1 | 20 | -include Libraries/rtos/rtos/subdir.mk |
1 | 0:3163adfd2cf1 | 21 | -include Libraries/EthernetInterface_TARGET_NXPLPC1768/subdir.mk |
1 | 0:3163adfd2cf1 | 22 | -include Libraries/EthernetInterface/lwip/netif/ppp/subdir.mk |
1 | 0:3163adfd2cf1 | 23 | -include Libraries/EthernetInterface/lwip/netif/subdir.mk |
1 | 0:3163adfd2cf1 | 24 | -include Libraries/EthernetInterface/lwip/core/snmp/subdir.mk |
1 | 0:3163adfd2cf1 | 25 | -include Libraries/EthernetInterface/lwip/core/ipv4/subdir.mk |
1 | 0:3163adfd2cf1 | 26 | -include Libraries/EthernetInterface/lwip/core/subdir.mk |
1 | 0:3163adfd2cf1 | 27 | -include Libraries/EthernetInterface/lwip/api/subdir.mk |
1 | 0:3163adfd2cf1 | 28 | -include Libraries/EthernetInterface/lwip-sys/arch/subdir.mk |
1 | 0:3163adfd2cf1 | 29 | -include Libraries/EthernetInterface/Socket/subdir.mk |
1 | 0:3163adfd2cf1 | 30 | -include Libraries/EthernetInterface/subdir.mk |
1 | 0:3163adfd2cf1 | 31 | -include objects.mk |
1 | 0:3163adfd2cf1 | 32 | |
1 | 0:3163adfd2cf1 | 33 | ifneq ($(MAKECMDGOALS),clean) |
1 | 0:3163adfd2cf1 | 34 | ifneq ($(strip $(CC_DEPS)),) |
1 | 0:3163adfd2cf1 | 35 | -include $(CC_DEPS) |
1 | 0:3163adfd2cf1 | 36 | endif |
1 | 0:3163adfd2cf1 | 37 | ifneq ($(strip $(C++_DEPS)),) |
1 | 0:3163adfd2cf1 | 38 | -include $(C++_DEPS) |
1 | 0:3163adfd2cf1 | 39 | endif |
1 | 0:3163adfd2cf1 | 40 | ifneq ($(strip $(C_UPPER_DEPS)),) |
1 | 0:3163adfd2cf1 | 41 | -include $(C_UPPER_DEPS) |
1 | 0:3163adfd2cf1 | 42 | endif |
1 | 0:3163adfd2cf1 | 43 | ifneq ($(strip $(CXX_DEPS)),) |
1 | 0:3163adfd2cf1 | 44 | -include $(CXX_DEPS) |
1 | 0:3163adfd2cf1 | 45 | endif |
1 | 0:3163adfd2cf1 | 46 | ifneq ($(strip $(ASM_DEPS)),) |
1 | 0:3163adfd2cf1 | 47 | -include $(ASM_DEPS) |
1 | 0:3163adfd2cf1 | 48 | endif |
1 | 0:3163adfd2cf1 | 49 | ifneq ($(strip $(S_UPPER_DEPS)),) |
1 | 0:3163adfd2cf1 | 50 | -include $(S_UPPER_DEPS) |
1 | 0:3163adfd2cf1 | 51 | endif |
1 | 0:3163adfd2cf1 | 52 | ifneq ($(strip $(CPP_DEPS)),) |
1 | 0:3163adfd2cf1 | 53 | -include $(CPP_DEPS) |
1 | 0:3163adfd2cf1 | 54 | endif |
1 | 0:3163adfd2cf1 | 55 | ifneq ($(strip $(C_DEPS)),) |
1 | 0:3163adfd2cf1 | 56 | -include $(C_DEPS) |
1 | 0:3163adfd2cf1 | 57 | endif |
1 | 0:3163adfd2cf1 | 58 | endif |
1 | 0:3163adfd2cf1 | 59 | |
1 | 0:3163adfd2cf1 | 60 | -include ../makefile.defs |
1 | 0:3163adfd2cf1 | 61 | |
1 | 0:3163adfd2cf1 | 62 | # Add inputs and outputs from these tool invocations to the build variables |
1 | 0:3163adfd2cf1 | 63 | AR += \ |
1 | 0:3163adfd2cf1 | 64 | D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/mbed.ar \ |
1 | 0:3163adfd2cf1 | 65 | |
1 | 0:3163adfd2cf1 | 66 | ELF += \ |
1 | 0:3163adfd2cf1 | 67 | ennoTest2.elf \ |
1 | 0:3163adfd2cf1 | 68 | |
1 | 0:3163adfd2cf1 | 69 | EEP += \ |
1 | 0:3163adfd2cf1 | 70 | ennoTest2.eep \ |
1 | 0:3163adfd2cf1 | 71 | |
1 | 0:3163adfd2cf1 | 72 | FLASH_IMAGE += \ |
1 | 0:3163adfd2cf1 | 73 | ennoTest2.hex \ |
1 | 0:3163adfd2cf1 | 74 | ennoTest2.bin \ |
1 | 0:3163adfd2cf1 | 75 | |
1 | 0:3163adfd2cf1 | 76 | FLASH_IMAGE += \ |
1 | 0:3163adfd2cf1 | 77 | ennoTest2.hex \ |
1 | 0:3163adfd2cf1 | 78 | ennoTest2.bin \ |
1 | 0:3163adfd2cf1 | 79 | |
1 | 0:3163adfd2cf1 | 80 | |
1 | 0:3163adfd2cf1 | 81 | # All Target |
1 | 0:3163adfd2cf1 | 82 | all: ennoTest2 |
1 | 0:3163adfd2cf1 | 83 | |
1 | 0:3163adfd2cf1 | 84 | # Tool invocations |
1 | 0:3163adfd2cf1 | 85 | ennoTest2: $(FLASH_IMAGE) |
1 | 0:3163adfd2cf1 | 86 | @echo 'Building target: $@' |
1 | 0:3163adfd2cf1 | 87 | @echo 'Printing size:' |
1 | 0:3163adfd2cf1 | 88 | "D:/SMeshStudio_4.7.0/mcore/tools/gcc_arm/bin/arm-none-eabi-size" -A "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.elf" |
1 | 0:3163adfd2cf1 | 89 | @echo 'Finished building target: $@' |
1 | 0:3163adfd2cf1 | 90 | @echo ' ' |
1 | 0:3163adfd2cf1 | 91 | |
1 | 0:3163adfd2cf1 | 92 | D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/mbed.ar: $(AR_OBJ) |
1 | 0:3163adfd2cf1 | 93 | @echo 'Starting archiver' |
1 | 0:3163adfd2cf1 | 94 | "D:/SMeshStudio_4.7.0/mcore/tools/gcc_arm/bin/arm-none-eabi-ar" -r "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/mbed.ar" $(AR_OBJ) |
1 | 0:3163adfd2cf1 | 95 | @echo 'Finished building: $@' |
1 | 0:3163adfd2cf1 | 96 | @echo ' ' |
1 | 0:3163adfd2cf1 | 97 | |
1 | 0:3163adfd2cf1 | 98 | ennoTest2.elf: $(LINK_OBJ) $(AR) |
1 | 0:3163adfd2cf1 | 99 | @echo 'Starting combiner' |
1 | 0:3163adfd2cf1 | 100 | "D:/SMeshStudio_4.7.0/mcore/tools/gcc_arm/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float "-TD:/SMeshStudio_4.7.0/mcore/hw/mbed/variants/xbed1.0_lpc1768_gcc_arm/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld" -o "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.elf" $(LINK_OBJ) $(AR) -L"D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release" -L"D:/SMeshStudio_4.7.0/mcore/hw/mbed/variants/xbed1.0_lpc1768_gcc_arm/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM" -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys |
1 | 0:3163adfd2cf1 | 101 | @echo 'Finished building: $@' |
1 | 0:3163adfd2cf1 | 102 | @echo ' ' |
1 | 0:3163adfd2cf1 | 103 | |
1 | 0:3163adfd2cf1 | 104 | ennoTest2.eep: $(ELF) |
1 | 0:3163adfd2cf1 | 105 | @echo 'Create eeprom image' |
1 | 0:3163adfd2cf1 | 106 | ${A.RECIPE.OBJCOPY.EEP.PATTERN} |
1 | 0:3163adfd2cf1 | 107 | @echo 'Finished building: $@' |
1 | 0:3163adfd2cf1 | 108 | @echo ' ' |
1 | 0:3163adfd2cf1 | 109 | |
1 | 0:3163adfd2cf1 | 110 | ennoTest2.hex: $(EEP) |
1 | 0:3163adfd2cf1 | 111 | @echo 'Create Flash image (ihex format)' |
1 | 0:3163adfd2cf1 | 112 | "D:/SMeshStudio_4.7.0/mcore/tools/gcc_arm/bin/arm-none-eabi-objcopy" -Oihex "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.elf" "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.hex" |
1 | 0:3163adfd2cf1 | 113 | @echo 'Finished building: $@' |
1 | 0:3163adfd2cf1 | 114 | @echo ' ' |
1 | 0:3163adfd2cf1 | 115 | |
1 | 0:3163adfd2cf1 | 116 | ennoTest2.bin: $(EEP) |
1 | 0:3163adfd2cf1 | 117 | @echo 'Create Flash image (bin format)' |
1 | 0:3163adfd2cf1 | 118 | "D:/SMeshStudio_4.7.0/mcore/tools/gcc_arm/bin/arm-none-eabi-objcopy" -Obinary "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.elf" "D:/SMeshStudio_4.7.0/workplace/ennoTest2/Release/ennoTest2.bin" |
1 | 0:3163adfd2cf1 | 119 | @echo 'Finished building: $@' |
1 | 0:3163adfd2cf1 | 120 | @echo ' ' |
1 | 0:3163adfd2cf1 | 121 | |
1 | 0:3163adfd2cf1 | 122 | # Other Targets |
1 | 0:3163adfd2cf1 | 123 | clean: |
1 | 0:3163adfd2cf1 | 124 | -$(RM) $(C_UPPER_DEPS)$(C_DEPS)$(AR)$(EEP)$(FLASH_IMAGE)$(CC_DEPS)$(AR_OBJ)$(C++_DEPS)$(LINK_OBJ)$(CXX_DEPS)$(ASM_DEPS)$(SIZEDUMMY)$(S_UPPER_DEPS)$(ELF)$(CPP_DEPS) ennoTest2 |
1 | 0:3163adfd2cf1 | 125 | -@echo ' ' |
1 | 0:3163adfd2cf1 | 126 | |
1 | 0:3163adfd2cf1 | 127 | .PHONY: all clean dependents |
1 | 0:3163adfd2cf1 | 128 | .SECONDARY: |
1 | 0:3163adfd2cf1 | 129 | |
1 | 0:3163adfd2cf1 | 130 | -include ../makefile.targets |