root / trunk / code / projects / scheduler / Makefile @ 1574
History | View | Annotate | Download (533 Bytes)
1 | 1561 | dsschult | # this is a local makefile |
---|---|---|---|
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 | 1574 | justin | 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 | 1574 | justin | AVRDUDE_PORT = /dev/tty.usbserial-A4001hAG |
16 | 1097 | deffi | |
17 | 1574 | justin | |
18 | 63 | emarinel | else |
19 | 1561 | dsschult | COLONYROOT := ../$(COLONYROOT) |
20 | 63 | emarinel | endif |
21 | |||
22 | 1574 | justin | include $(COLONYROOT)/Makefile |