root / branches / slam / code / projects / colonet / DataRequests / server / Makefile @ 157
History | View | Annotate | Download (424 Bytes)
1 |
CC = gcc |
---|---|
2 |
CFLAGS = -Wall -g |
3 |
|
4 |
TARGET=test_main |
5 |
|
6 |
all: $(TARGET) |
7 |
ifndef COLONYROOT |
8 |
COLONYROOT = ../../.. |
9 |
endif |
10 |
|
11 |
CINCS = -I$(COLONYROOT)/code/lib/include/libdragonfly |
12 |
CINCS += -L$(COLONYROOT)/code/lib/bin |
13 |
|
14 |
all: $(TARGET) |
15 |
|
16 |
$(TARGET): *.c *.h |
17 |
$(CC) $(CFLAGS) *.c -I$(COLONYROOT)/code/lib/include/libdragonfly -I$(COLONYROOT)/code/lib/include/libwireless -L$(COLONYROOT)/code/lib/bin -o $(TARGET) -lwireless |
18 |
|
19 |
clean: |
20 |
rm $(TARGET) |