Line 28... |
Line 28... |
28 |
#put your C sourcefiles here |
28 |
#put your C sourcefiles here |
29 |
# Here you must list any C source files which are used by your target file. |
29 |
# Here you must list any C source files which are used by your target file. |
30 |
# They will be compiled in the order you list them, so it's probably best |
30 |
# They will be compiled in the order you list them, so it's probably best |
31 |
# to list $(TRG).c, your top-level target file, last. |
31 |
# to list $(TRG).c, your top-level target file, last. |
32 |
|
32 |
|
33 |
SRC = $(AVRLIB)/buffer.c $(AVRLIB)/uart2.c $(AVRLIB)/rprintf.c $(AVRLIB)/timer.c $(AVRLIB)/vt100.c $(AVRLIB)/tsip.c $(AVRLIB)/nmea.c $(AVRLIB)/gps.c $(AVRLIB)/lcd_hd44780.c $(TRG).c $(AVRLIB)/utm.c |
33 |
# SRC = $(AVRLIB)/buffer.c $(AVRLIB)/uart2.c $(AVRLIB)/rprintf.c $(AVRLIB)/timer.c $(AVRLIB)/vt100.c $(AVRLIB)/tsip.c $(AVRLIB)/nmea.c $(AVRLIB)/gps.c $(AVRLIB)/lcd_hd44780.c $(AVRLIB)/utm.c $(TRG).c |
- |
|
34 |
SRC = buffer.c uart2.c rprintf.c timer.c vt100.c tsip.c nmea.c gps.c lcd_hd44780.c utm.c $(TRG).c |
34 |
|
35 |
|
35 |
#put additional assembler source file here |
36 |
#put additional assembler source file here |
36 |
# The ASRC line allows you to list files which contain assembly code/routines that |
37 |
# The ASRC line allows you to list files which contain assembly code/routines that |
37 |
# you would like to use from within your C programs. The assembly code must be |
38 |
# you would like to use from within your C programs. The assembly code must be |
38 |
# written in a special way to be usable as a function from your C code. |
39 |
# written in a special way to be usable as a function from your C code. |
Line 76... |
Line 77... |
76 |
|
77 |
|
77 |
buffer.o : buffer.c buffer.h |
78 |
buffer.o : buffer.c buffer.h |
78 |
uart.o : uart.c uart.h global.h |
79 |
uart.o : uart.c uart.h global.h |
79 |
uart2.o : uart2.c uart2.h global.h |
80 |
uart2.o : uart2.c uart2.h global.h |
80 |
rprintf.o : rprintf.c rprintf.h |
81 |
rprintf.o : rprintf.c rprintf.h |
81 |
a2d.o : a2d.c a2d.h |
82 |
#a2d.o : a2d.c a2d.h |
82 |
timer.o : timer.c timer.h global.h |
83 |
timer.o : timer.c timer.h global.h |
83 |
pulse.o : pulse.c pulse.h timer.h global.h |
84 |
#pulse.o : pulse.c pulse.h timer.h global.h |
84 |
lcd.o : lcd.c lcd.h lcdconf.h global.h |
85 |
lcd.o : lcd.c lcd.h lcdconf.h global.h |
85 |
i2c.o : i2c.c i2c.h global.h |
86 |
#i2c.o : i2c.c i2c.h global.h |
86 |
spi.o : spi.c spi.h global.h |
87 |
#spi.o : spi.c spi.h global.h |
87 |
swpwm.o : swpwm.c swpwm.h global.h |
88 |
#swpwm.o : swpwm.c swpwm.h global.h |
88 |
servo.o : servo.c servo.h global.h |
89 |
#servo.o : servo.c servo.h global.h |
89 |
swuart.o : swuart.c swuart.h global.h |
90 |
#swuart.o : swuart.c swuart.h global.h |
90 |
tsip.o : tsip.c tsip.h global.h |
91 |
tsip.o : tsip.c tsip.h global.h |
91 |
nmea.o : nmea.c nmea.h global.h |
92 |
nmea.o : nmea.c nmea.h global.h |
92 |
vt100.o : vt100.c vt100.h global.h |
93 |
vt100.o : vt100.c vt100.h global.h |
93 |
gps.o : gps.c gps.h global.h |
94 |
gps.o : gps.c gps.h global.h |
94 |
lcd_hd44780.o : lcd_hd44780.c lcd_hd44780.h global.h |
95 |
lcd_hd44780.o : lcd_hd44780.c lcd_hd44780.h global.h |