Rev 478 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 478 | Rev 484 | ||
|---|---|---|---|
| Line 7... | Line 7... | ||
| 7 | include $(LIBDIR)/system.inc |
7 | include $(LIBDIR)/system.inc |
| 8 | 8 | ||
| 9 | # List C source files here. (C dependencies are automatically generated.) |
9 | # List C source files here. (C dependencies are automatically generated.) |
| 10 | CSRC = $(TARGET).c\ |
10 | CSRC = $(TARGET).c\ |
| 11 | $(LIBDIR)/drivers/timer/timebase.c\ |
11 | $(LIBDIR)/drivers/timer/timebase.c\ |
| 12 | $(LIBDIR)/drivers/uart/serial.c\ |
- | |
| 13 | $(LIBDIR)/drivers/uart/uart.c\ |
- | |
| 14 | $(LIBDIR)/drivers/mcu/mcu.c\ |
12 | $(LIBDIR)/drivers/mcu/mcu.c\ |
| 15 | $(LIBDIR)/drivers/ir/receiver/irreceiver.c\ |
13 | $(LIBDIR)/drivers/ir/receiver/irreceiver.c\ |
| 16 | 14 | ||
| 17 | # List Assembler source files here. |
15 | # List Assembler source files here. |
| 18 | # Make them always end in a capital .S. Files ending in a lowercase .s |
16 | # Make them always end in a capital .S. Files ending in a lowercase .s |
| 19 | # will not be considered source files but generated files (assembler |
17 | # will not be considered source files but generated files (assembler |
| 20 | # output from the compiler), and will be deleted upon "make clean"! |
18 | # output from the compiler), and will be deleted upon "make clean"! |
| 21 | # Even though the DOS/Win* filesystem matches both .s and .S the same, |
19 | # Even though the DOS/Win* filesystem matches both .s and .S the same, |
| Line 168... | Line 166... | ||
| 168 | MSG_LINKING = Linking: |
166 | MSG_LINKING = Linking: |
| 169 | MSG_COMPILING = Compiling: |
167 | MSG_COMPILING = Compiling: |
| 170 | MSG_ASSEMBLING = Assembling: |
168 | MSG_ASSEMBLING = Assembling: |
| 171 | MSG_DEPEND = Generating dependencies: |
169 | MSG_DEPEND = Generating dependencies: |
| 172 | MSG_CLEANING = Cleaning project: |
170 | MSG_CLEANING = Cleaning project: |
| 173 | 171 | ||
| 174 | 172 | ||
| 175 | 173 | ||
| 176 | 174 | ||
| 177 | # Define all object files. |
175 | # Define all object files. |
| 178 | OBJ = $(CSRC:.c=.o) $(ASRC:.S=.o) |
176 | OBJ = $(CSRC:.c=.o) $(ASRC:.S=.o) |
| 179 | 177 | ||
| 180 | # Define all listing files. |
178 | # Define all listing files. |
| Line 266... | Line 264... | ||
| 266 | 264 | ||
| 267 | extcoff: $(TARGET).elf |
265 | extcoff: $(TARGET).elf |
| 268 | @echo |
266 | @echo |
| 269 | @echo $(MSG_EXTENDED_COFF) $(TARGET).cof |
267 | @echo $(MSG_EXTENDED_COFF) $(TARGET).cof |
| 270 | $(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof |
268 | $(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof |
| 271 | - | ||
| 272 | - | ||
| 273 | 269 | ||
| 274 | # Create final output files (.hex, .eep) from ELF output file. |
270 | # Create final output files (.hex, .eep) from ELF output file. |
| 275 | %.hex: %.elf |
271 | %.hex: %.elf |
| 276 | @echo |
272 | @echo |
| 277 | @echo $(MSG_FLASH) $@ |
273 | @echo $(MSG_FLASH) $@ |