Rev 163 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 163 | Rev 167 | ||
|---|---|---|---|
| Line 59... | Line 59... | ||
| 59 | 59 | ||
| 60 | # Target file name (without extension). |
60 | # Target file name (without extension). |
| 61 | TARGET = main |
61 | TARGET = main |
| 62 | 62 | ||
| 63 | LIBDIR = ../lib/src/ |
63 | LIBDIR = ../lib/src/ |
| 64 | - | ||
| 65 | 64 | ||
| 66 | # List C source files here. (C dependencies are automatically generated.) |
65 | # List C source files here. (C dependencies are automatically generated.) |
| 67 | SRC = $(TARGET).c\ |
66 | SRC = $(TARGET).c\ |
| 68 | $(LIBDIR)mcu/mcu.c\ |
67 | $(LIBDIR)mcu/mcu.c\ |
| 69 | $(LIBDIR)mcu/serial.c\ |
68 | $(LIBDIR)mcu/serial.c\ |
| Line 95... | Line 94... | ||
| 95 | #DEBUG = stabs |
94 | #DEBUG = stabs |
| 96 | DEBUG = dwarf-2 |
95 | DEBUG = dwarf-2 |
| 97 | 96 | ||
| 98 | # List any extra directories to look for include files here. |
97 | # List any extra directories to look for include files here. |
| 99 | # Each directory must be seperated by a space. |
98 | # Each directory must be seperated by a space. |
| 100 | EXTRAINCDIRS = $(LIBDIR)/can $(LIBDIR)/can/mcp2515 $(LIBDIR)/mcu $(LIBDIR)/lcd |
99 | EXTRAINCDIRS = $(LIBDIR)/can $(LIBDIR)/can/mcp2515 $(LIBDIR)/mcu $(LIBDIR)/lcd $(LIBDIR)/../funcdefs |
| 101 | 100 | ||
| 102 | # Compiler flag to set the C Standard level. |
101 | # Compiler flag to set the C Standard level. |
| 103 | # c89 - "ANSI" C |
102 | # c89 - "ANSI" C |
| 104 | # gnu89 - c89 plus GCC extensions |
103 | # gnu89 - c89 plus GCC extensions |
| 105 | # c99 - ISO C99 standard (not yet fully implemented) |
104 | # c99 - ISO C99 standard (not yet fully implemented) |