Rev 405 | Rev 474 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 405 | Rev 471 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | include bios.inc |
1 | include bios.inc |
| 2 | 2 | ||
| 3 | # Target file name (without extension). |
3 | # Target file name (without extension). |
| 4 | TARGET = main |
4 | TARGET = main |
| 5 | 5 | ||
| 6 | LIBDIR = ../avr-lib |
6 | LIBDIR = ../../avr-lib |
| - | 7 | include $(LIBDIR)/system.inc |
|
| 7 | 8 | ||
| 8 | # List C source files here. (C dependencies are automatically generated.) |
9 | # List C source files here. (C dependencies are automatically generated.) |
| 9 | CSRC = $(TARGET).c\ |
10 | CSRC = $(TARGET).c\ |
| 10 | $(LIBDIR)/drivers/timer/timebase.c\ |
11 | $(LIBDIR)/drivers/timer/timebase.c\ |
| 11 | $(LIBDIR)/drivers/mcu/mcu.c\ |
12 | $(LIBDIR)/drivers/mcu/mcu.c\ |
| Line 202... | Line 203... | ||
| 202 | eep: $(TARGET).eep |
203 | eep: $(TARGET).eep |
| 203 | lss: $(TARGET).lss |
204 | lss: $(TARGET).lss |
| 204 | sym: $(TARGET).sym |
205 | sym: $(TARGET).sym |
| 205 | config: config.h |
206 | config: config.h |
| 206 | 207 | ||
| - | 208 | install: |
|
| - | 209 | $(CANUPLOAD) $(CANULFLAGS) -n $(NODE_ID) -f $(TARGET).hex -r |
|
| 207 | 210 | ||
| 208 | # Eye candy. |
211 | # Eye candy. |
| 209 | # AVR Studio 3.x does not check make's exit code but relies on |
212 | # AVR Studio 3.x does not check make's exit code but relies on |
| 210 | # the following magic strings to be generated by the compile job. |
213 | # the following magic strings to be generated by the compile job. |
| 211 | begin: |
214 | begin: |