Revision 1036
Updated Makefile for Diagnostic Station directory. Now have compilable code which can be successfully downloaded to turn on 1 orb light!
Makefile | ||
---|---|---|
4 | 4 |
|
5 | 5 |
# Relative path to the root directory (containing lib directory) |
6 | 6 |
ifndef COLONYROOT |
7 |
COLONYROOT = ../../../..
|
|
7 |
COLONYROOT = ../.. |
|
8 | 8 |
endif |
9 | 9 |
|
10 | 10 |
# Target file name (without extension). |
11 |
TARGET = template
|
|
11 |
TARGET = main
|
|
12 | 12 |
|
13 | 13 |
# Uncomment this to use the wireless library |
14 | 14 |
USE_WIRELESS = 1 |
... | ... | |
116 | 116 |
endif |
117 | 117 |
|
118 | 118 |
# Place -I, -L options here |
119 |
CINCS = -I$(COLONYROOT)/code/lib/include/libdragonfly
|
|
120 |
CINCS += -L$(COLONYROOT)/code/lib/bin
|
|
119 |
CINCS = -I$(COLONYROOT)/lib/include/libdragonfly |
|
120 |
CINCS += -L$(COLONYROOT)/lib/bin |
|
121 | 121 |
ifdef USE_WIRELESS |
122 |
CINCS += -I$(COLONYROOT)/code/lib/include/libwireless
|
|
122 |
CINCS += -I$(COLONYROOT)/lib/include/libwireless |
|
123 | 123 |
endif |
124 | 124 |
|
125 | 125 |
#---------------- Compiler Options ---------------- |
Also available in: Unified diff