Rev 405 | Rev 471 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 405 | Rev 447 | ||
|---|---|---|---|
| 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 | 7 | ||
| 8 | # List C source files here. (C dependencies are automatically generated.) |
8 | # List C source files here. (C dependencies are automatically generated.) |
| 9 | CSRC = $(TARGET).c\ |
9 | CSRC = $(TARGET).c\ |
| 10 | $(LIBDIR)/drivers/timer/timebase.c\ |
10 | $(LIBDIR)/drivers/timer/timebase.c\ |
| 11 | $(LIBDIR)/drivers/ |
11 | $(LIBDIR)/drivers/actuator/rc-servo/rc_servo.c\ |
| 12 | $(LIBDIR)/drivers/ |
12 | $(LIBDIR)/drivers/sensor/tc1047/tc1047.c\ |
| 13 | $(LIBDIR)/drivers/mcu/mcu.c\ |
13 | $(LIBDIR)/drivers/mcu/mcu.c\ |
| 14 | ../lib/src/sensor/tc1047/tc1047.c\ |
14 | # ../../lib/src/sensor/tc1047/tc1047.c\ |
| 15 | ../lib/src/actuator/rc_servo.c |
15 | # ../../lib/src/actuator/rc_servo.c |
| 16 | 16 | ||
| 17 | # List Assembler source files here. |
17 | # List Assembler source files here. |
| 18 | # Make them always end in a capital .S. Files ending in a lowercase .s |
18 | # 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 |
19 | # will not be considered source files but generated files (assembler |
| 20 | # output from the compiler), and will be deleted upon "make clean"! |
20 | # output from the compiler), and will be deleted upon "make clean"! |
| Line 37... | Line 37... | ||
| 37 | #DEBUG = dwarf-2 |
37 | #DEBUG = dwarf-2 |
| 38 | 38 | ||
| 39 | # List any extra directories to look for include files here. |
39 | # List any extra directories to look for include files here. |
| 40 | # Each directory must be seperated by a space. |
40 | # Each directory must be seperated by a space. |
| 41 | EXTRAINCDIRS = $(LIBDIR)\ |
41 | EXTRAINCDIRS = $(LIBDIR)\ |
| 42 |
|
42 | $(LIBDIR)/funcdefs\ |
| 43 |
|
43 | $(LIBDIR)/drivers/actuator/rc-servo\ |
| 44 |
|
44 | $(LIBDIR)/drivers/sensor/tc1047\ |
| 45 | 45 | ||
| 46 | # Compiler flag to set the C Standard level. |
46 | # Compiler flag to set the C Standard level. |
| 47 | # c89 - "ANSI" C |
47 | # c89 - "ANSI" C |
| 48 | # gnu89 - c89 plus GCC extensions |
48 | # gnu89 - c89 plus GCC extensions |
| 49 | # c99 - ISO C99 standard (not yet fully implemented) |
49 | # c99 - ISO C99 standard (not yet fully implemented) |