root / branches / wireless / code / projects / unit_tests / Makefile @ 1935
History | View | Annotate | Download (491 Bytes)
1 | 1499 | dsschult | # this is a local makefile |
---|---|---|---|
2 | 789 | dsschult | |
3 | # Relative path to the root directory (containing lib directory) |
||
4 | ifndef COLONYROOT |
||
5 | 1646 | dsschult | COLONYROOT := .. |
6 | 789 | dsschult | |
7 | # Target file name (without extension). |
||
8 | 958 | cmar | TARGET = main |
9 | 789 | dsschult | |
10 | # Uncomment this to use the wireless library |
||
11 | 1646 | dsschult | USE_WIRELESS = 1 |
12 | 789 | dsschult | |
13 | # com1 = serial port. Use lpt1 to connect to parallel port. |
||
14 | 1935 | bwasserm | AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM25:'; else echo '/dev/ttyUSB0'; fi) |
15 | 789 | dsschult | |
16 | 1499 | dsschult | else |
17 | COLONYROOT := ../$(COLONYROOT) |
||
18 | endif |
||
19 | |||
20 | include $(COLONYROOT)/Makefile |