Rev 536 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 536 | Rev 654 | ||
|---|---|---|---|
| Line 52... | Line 52... | ||
| 52 | 52 | ||
| 53 | # Target file name (without extension). |
53 | # Target file name (without extension). |
| 54 | TARGET = main |
54 | TARGET = main |
| 55 | 55 | ||
| 56 | LIBDIR = ../../lib/src/ |
56 | LIBDIR = ../../lib/src/ |
| 57 | - | ||
| - | 57 | NEWLIBDIR = ../../avr-lib/drivers/ |
|
| 58 | 58 | ||
| 59 | # List C source files here. (C dependencies are automatically generated.) |
59 | # List C source files here. (C dependencies are automatically generated.) |
| 60 | SRC = $(TARGET).c\ |
60 | SRC = $(TARGET).c\ |
| 61 | $( |
61 | $(NEWLIBDIR)eth/enc28j60/enc28j60.c\ |
| 62 | $( |
62 | $(NEWLIBDIR)eth/timeout.c\ |
| 63 | $( |
63 | $(NEWLIBDIR)eth/ip_arp_udp_tcp.c\ |
| 64 | $(LIBDIR)mcu/mcu.c\ |
64 | $(LIBDIR)mcu/mcu.c\ |
| 65 | $(LIBDIR)mcu/serial.c\ |
65 | $(LIBDIR)mcu/serial.c\ |
| 66 | $(LIBDIR)mcu/uart.c\ |
66 | $(LIBDIR)mcu/uart.c\ |
| 67 | $(LIBDIR)mcu/timebase.c\ |
67 | $(LIBDIR)mcu/timebase.c\ |
| 68 | $(LIBDIR)can/can.c\ |
68 | $(LIBDIR)can/can.c\ |
| Line 90... | Line 90... | ||
| 90 | #DEBUG = stabs |
90 | #DEBUG = stabs |
| 91 | DEBUG = dwarf-2 |
91 | DEBUG = dwarf-2 |
| 92 | 92 | ||
| 93 | # List any extra directories to look for include files here. |
93 | # List any extra directories to look for include files here. |
| 94 | # Each directory must be seperated by a space. |
94 | # Each directory must be seperated by a space. |
| 95 | EXTRAINCDIRS = $(LIBDIR) |
95 | EXTRAINCDIRS = $(LIBDIR)can $(LIBDIR)can/mcp2515 $(LIBDIR)mcu $(NEWLIBDIR)eth $(NEWLIBDIR)eth/enc28j60 |
| 96 | 96 | ||
| 97 | # Compiler flag to set the C Standard level. |
97 | # Compiler flag to set the C Standard level. |
| 98 | # c89 - "ANSI" C |
98 | # c89 - "ANSI" C |
| 99 | # gnu89 - c89 plus GCC extensions |
99 | # gnu89 - c89 plus GCC extensions |
| 100 | # c99 - ISO C99 standard (not yet fully implemented) |
100 | # c99 - ISO C99 standard (not yet fully implemented) |