root / trunk / code / projects / fp_math / Makefile @ 1579
History | View | Annotate | Download (533 Bytes)
1 | 1579 | justin | # this is a local makefile |
---|---|---|---|
2 | |||
3 | # Relative path to the root directory (containing lib directory) |
||
4 | ifndef COLONYROOT |
||
5 | COLONYROOT := .. |
||
6 | |||
7 | # Target file name (without extension). |
||
8 | TARGET=main |
||
9 | |||
10 | # Uncomment this to use the wireless library |
||
11 | USE_WIRELESS = 1 |
||
12 | |||
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 'COM4:'; else echo '/dev/ttyUSB0'; fi) |
||
15 | AVRDUDE_PORT = /dev/tty.usbserial-A4001gUV |
||
16 | |||
17 | |||
18 | else |
||
19 | COLONYROOT := ../$(COLONYROOT) |
||
20 | endif |
||
21 | |||
22 | include $(COLONYROOT)/Makefile |