root / trunk / code / projects / traffic_navigation / Makefile @ 1908
History | View | Annotate | Download (522 Bytes)
1 | 1888 | bwasserm | # this is a local makefile special for traffic navigation |
---|---|---|---|
2 | 63 | emarinel | |
3 | # Relative path to the root directory (containing lib directory) |
||
4 | ifndef COLONYROOT |
||
5 | 1561 | dsschult | COLONYROOT := .. |
6 | 63 | emarinel | |
7 | # Target file name (without extension). |
||
8 | 1561 | dsschult | TARGET = main |
9 | 63 | emarinel | |
10 | # Uncomment this to use the wireless library |
||
11 | 967 | alevkoy | USE_WIRELESS = 1 |
12 | 63 | emarinel | |
13 | # com1 = serial port. Use lpt1 to connect to parallel port. |
||
14 | 1097 | deffi | AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi) |
15 | |||
16 | 63 | emarinel | else |
17 | 1561 | dsschult | COLONYROOT := ../$(COLONYROOT) |
18 | 63 | emarinel | endif |
19 | |||
20 | 1863 | bwasserm | include $(COLONYROOT)/Makefile |