Revision 157
Sweet stuff. Eugene use this. It's good.
(But not tested yet, should work, modular, works for all server side applications,
even those that aren't explicitly colonet related.)
Makefile | ||
---|---|---|
8 | 8 |
COLONYROOT = ../../.. |
9 | 9 |
endif |
10 | 10 |
|
11 |
CINCS = -I$(COLONYROOT)/code/lib/include/libdragonfly |
|
12 |
CINCS += -L$(COLONYROOT)/code/lib/bin |
|
13 |
|
|
14 |
all: $(TARGET) |
|
15 |
|
|
11 | 16 |
$(TARGET): *.c *.h |
12 |
$(CC) $(CFLAGS) $(TARGET).c -L$(COLONYROOT)/code/lib/bin -o $(TARGET) -lwireless
|
|
17 |
$(CC) $(CFLAGS) *.c -I$(COLONYROOT)/code/lib/include/libdragonfly -I$(COLONYROOT)/code/lib/include/libwireless -L$(COLONYROOT)/code/lib/bin -o $(TARGET) -lwireless
|
|
13 | 18 |
|
14 | 19 |
clean: |
15 | 20 |
rm $(TARGET) |
Also available in: Unified diff