2925 |
poskozby |
1 |
################################################################################ |
|
|
2 |
# Automatically-generated file. Do not edit! |
|
|
3 |
################################################################################ |
|
|
4 |
|
|
|
5 |
SHELL := cmd.exe |
|
|
6 |
RM := rm -rf |
|
|
7 |
|
|
|
8 |
USER_OBJS := |
|
|
9 |
|
|
|
10 |
LIBS := |
|
|
11 |
PROJ := |
|
|
12 |
|
|
|
13 |
O_SRCS := |
|
|
14 |
C_SRCS := |
|
|
15 |
S_SRCS := |
|
|
16 |
S_UPPER_SRCS := |
|
|
17 |
OBJ_SRCS := |
|
|
18 |
ASM_SRCS := |
|
|
19 |
PREPROCESSING_SRCS := |
|
|
20 |
OBJS := |
|
|
21 |
OBJS_AS_ARGS := |
|
|
22 |
C_DEPS := |
|
|
23 |
C_DEPS_AS_ARGS := |
|
|
24 |
EXECUTABLES := |
|
|
25 |
OUTPUT_FILE_PATH := |
|
|
26 |
OUTPUT_FILE_PATH_AS_ARGS := |
|
|
27 |
AVR_APP_PATH :=$$$AVR_APP_PATH$$$ |
|
|
28 |
QUOTE := " |
|
|
29 |
ADDITIONAL_DEPENDENCIES:= |
|
|
30 |
OUTPUT_FILE_DEP:= |
|
|
31 |
|
|
|
32 |
# Every subdirectory with source files must be described here |
|
|
33 |
SUBDIRS := |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
# Add inputs and outputs from these tool invocations to the build variables |
|
|
37 |
C_SRCS += \ |
|
|
38 |
../Balon_sonda.c \ |
|
|
39 |
../LED.c \ |
|
|
40 |
../Timers.c \ |
|
|
41 |
../uart.c |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
PREPROCESSING_SRCS += |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
ASM_SRCS += |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
OBJS += \ |
|
|
51 |
Balon_sonda.o \ |
|
|
52 |
LED.o \ |
|
|
53 |
Timers.o \ |
|
|
54 |
uart.o |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
OBJS_AS_ARGS += \ |
|
|
58 |
Balon_sonda.o \ |
|
|
59 |
LED.o \ |
|
|
60 |
Timers.o \ |
|
|
61 |
uart.o |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
C_DEPS += \ |
|
|
65 |
Balon_sonda.d \ |
|
|
66 |
LED.d \ |
|
|
67 |
Timers.d \ |
|
|
68 |
uart.d |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
C_DEPS_AS_ARGS += \ |
|
|
72 |
Balon_sonda.d \ |
|
|
73 |
LED.d \ |
|
|
74 |
Timers.d \ |
|
|
75 |
uart.d |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
OUTPUT_FILE_PATH +=Balon_sonda.elf |
|
|
79 |
|
|
|
80 |
OUTPUT_FILE_PATH_AS_ARGS +=Balon_sonda.elf |
|
|
81 |
|
|
|
82 |
ADDITIONAL_DEPENDENCIES:= |
|
|
83 |
|
|
|
84 |
OUTPUT_FILE_DEP:= ./makedep.mk |
|
|
85 |
|
|
|
86 |
# AVR32/GNU C Compiler |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
./%.o: .././%.c |
|
|
97 |
@echo Building file: $< |
|
|
98 |
@echo Invoking: AVR/GNU C Compiler : (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2 |
|
|
99 |
$(QUOTE)C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-gcc.exe$(QUOTE) -funsigned-char -funsigned-bitfields -O1 -fpack-struct -fshort-enums -g2 -Wall -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -mmcu=atmega328 -o"$@" "$<" |
|
|
100 |
@echo Finished building: $< |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
# AVR32/GNU Preprocessing Assembler |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
# AVR32/GNU Assembler |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
ifneq ($(MAKECMDGOALS),clean) |
|
|
114 |
ifneq ($(strip $(C_DEPS)),) |
|
|
115 |
-include $(C_DEPS) |
|
|
116 |
endif |
|
|
117 |
endif |
|
|
118 |
|
|
|
119 |
# Add inputs and outputs from these tool invocations to the build variables |
|
|
120 |
|
|
|
121 |
# All Target |
|
|
122 |
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES) |
|
|
123 |
|
|
|
124 |
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) |
|
|
125 |
@echo Building target: $@ |
|
|
126 |
@echo Invoking: AVR/GNU Linker : (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2 |
|
|
127 |
$(QUOTE)C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="Balon_sonda.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -mmcu=atmega328 |
|
|
128 |
@echo Finished building target: $@ |
|
|
129 |
"C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "Balon_sonda.elf" "Balon_sonda.hex" |
|
|
130 |
"C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "Balon_sonda.elf" "Balon_sonda.eep" || exit 0 |
|
|
131 |
"C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-objdump.exe" -h -S "Balon_sonda.elf" > "Balon_sonda.lss" |
|
|
132 |
"C:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-size.exe" "Balon_sonda.elf" |
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
# Other Targets |
|
|
140 |
clean: |
|
|
141 |
-$(RM) $(OBJS_AS_ARGS)$(C_DEPS_AS_ARGS) $(EXECUTABLES) |
|
|
142 |
rm -rf "Balon_sonda.elf" "Balon_sonda.a" "Balon_sonda.hex" "Balon_sonda.lss" "Balon_sonda.eep" "Balon_sonda.map" |
|
|
143 |
|