first commit
This commit is contained in:
95
TEST/Release/makefile
Executable file
95
TEST/Release/makefile
Executable file
@@ -0,0 +1,95 @@
|
||||
################################################################################
|
||||
# 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 arduino/core/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 $(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
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
AR += \
|
||||
/home/souti/Arduino/TEST/Release/arduino.ar \
|
||||
|
||||
ELF += \
|
||||
TEST.elf \
|
||||
|
||||
EEP += \
|
||||
TEST.eep \
|
||||
|
||||
FLASH_IMAGE += \
|
||||
TEST.hex \
|
||||
|
||||
|
||||
# All Target
|
||||
all: TEST
|
||||
|
||||
# Tool invocations
|
||||
TEST: $(FLASH_IMAGE)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Printing size:'
|
||||
"/home/souti/Téléchargements/arduino-1.6.0/hardware/tools/avr/bin/avr-size" -A "/home/souti/Arduino/TEST/Release/TEST.elf"
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
/home/souti/Arduino/TEST/Release/arduino.ar: $(AR_OBJ)
|
||||
@echo 'Starting archiver'
|
||||
"/home/souti/Téléchargements/arduino-1.6.0/hardware/tools/avr/bin/avr-ar" rcs "/home/souti/Arduino/TEST/Release/arduino.ar" $(AR_OBJ)
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
TEST.elf: $(LINK_OBJ) $(AR)
|
||||
@echo 'Starting combiner'
|
||||
"/home/souti/Téléchargements/arduino-1.6.0/hardware/tools/avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega328p -o "/home/souti/Arduino/TEST/Release/TEST.elf" $(LINK_OBJ) $(AR) "/home/souti/Arduino/TEST/Release/arduino.ar" "-L/home/souti/Arduino/TEST/Release" -lm
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
TEST.eep: $(ELF)
|
||||
@echo 'Create eeprom image'
|
||||
"/home/souti/Téléchargements/arduino-1.6.0/hardware/tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/home/souti/Arduino/TEST/Release/TEST.elf" "/home/souti/Arduino/TEST/Release/TEST.eep"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
TEST.hex: $(EEP)
|
||||
@echo 'Create Flash image (ihex format)'
|
||||
"/home/souti/Téléchargements/arduino-1.6.0/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom "/home/souti/Arduino/TEST/Release/TEST.elf" "/home/souti/Arduino/TEST/Release/TEST.hex"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(ELF)$(C++_DEPS)$(AR)$(C_DEPS)$(CC_DEPS)$(FLASH_IMAGE)$(AR_OBJ)$(CPP_DEPS)$(LINK_OBJ)$(EEP)$(CXX_DEPS)$(C_UPPER_DEPS)$(SIZEDUMMY) TEST
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY:
|
||||
|
||||
-include ../makefile.targets
|
||||
Reference in New Issue
Block a user