2010-05-04 04:46:42 +08:00
|
|
|
CFLAGS= -W -Wall -I.. -pthread -g
|
|
|
|
|
|
|
|
all:
|
|
|
|
OS=`uname`; \
|
|
|
|
test "$$OS" = Linux && LIBS="-ldl" ; \
|
2011-06-18 07:29:46 +08:00
|
|
|
$(CC) $(CFLAGS) hello.c ../mongoose.c $$LIBS $(ADD) -o hello;
|
|
|
|
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o chat
|