Revision 1646
wireless: wireless2.c
Makefile | ||
---|---|---|
2 | 2 |
|
3 | 3 |
# Relative path to the root directory (containing lib directory) |
4 | 4 |
ifndef COLONYROOT |
5 |
COLONYROOT = .. |
|
5 |
COLONYROOT := ..
|
|
6 | 6 |
|
7 | 7 |
# Target file name (without extension). |
8 | 8 |
TARGET = main |
9 | 9 |
|
10 | 10 |
# Uncomment this to use the wireless library |
11 |
#USE_WIRELESS = 1
|
|
11 |
USE_WIRELESS = 1 |
|
12 | 12 |
|
13 | 13 |
# com1 = serial port. Use lpt1 to connect to parallel port. |
14 |
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM5:'; else echo '/dev/ttyUSB0'; fi)
|
|
14 |
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM10:'; else echo '/dev/ttyUSB0'; fi)
|
|
15 | 15 |
|
16 | 16 |
else |
17 | 17 |
COLONYROOT := ../$(COLONYROOT) |
Also available in: Unified diff