-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
106 lines (89 loc) · 3.24 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -f
# All of the sources participating in the build are defined here
-include sources.mk
-include subdir.mk
-include libraries/Wire/src/utility/subdir.mk
-include libraries/Wire/src/subdir.mk
-include libraries/SPI/src/subdir.mk
-include libraries/SD/src/utility/subdir.mk
-include libraries/SD/src/subdir.mk
-include libraries/FastLED/subdir.mk
-include libraries/Adafruit_DotStar/subdir.mk
-include core/core/subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
AR += \
/Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/arduino.ar \
ELF += \
Stefan_Show.elf \
HEX += \
Stefan_Show.hex \
# All Target
all: Stefan_Show
# Tool invocations
Stefan_Show: $(HEX)
@echo 'Building target: $@'
@echo 'Printing size:'
"/Applications/sloeber.app/Contents/Eclipse//arduinoPlugin/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-size" -A "/Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/Stefan_Show.elf"
@echo 'Finished building target: $@'
@echo ' '
/Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/arduino.ar: $(AR_OBJ)
@echo 'Starting archiver'
"/Applications/sloeber.app/Contents/Eclipse//arduinoPlugin/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-gcc-ar" rcs /Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/arduino.ar $(AR_OBJ)
@echo 'Finished building: $@'
@echo ' '
Stefan_Show.elf: $(LINK_OBJ) $(AR)
@echo 'Starting combiner'
"/Applications/sloeber.app/Contents/Eclipse//arduinoPlugin/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "/Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/Stefan_Show.elf" $(LINK_OBJ) $(AR) /Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release/arduino.ar "-L/Users/thomas/Documents/sloeber-workspace/Stefan_Show/Release" -lm
@echo 'Finished building: $@'
@echo ' '
Stefan_Show.hex: $(ELF)
@echo 'Create eeprom image'
${A.RECIPE.OBJCOPY.EEP.PATTERN}
${A.RECIPE.OBJCOPY.HEX.PATTERN}
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(C_UPPER_DEPS)$(PDE_DEPS)$(C_DEPS)$(AR)$(CC_DEPS)$(AR_OBJ)$(C++_DEPS)$(LINK_OBJ)$(CXX_DEPS)$(ASM_DEPS)$(HEX)$(INO_DEPS)$(SIZEDUMMY)$(S_UPPER_DEPS)$(ELF)$(CPP_DEPS)
-@echo ' '
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets