2010-05-03 21:46:42 +01:00
|
|
|
CFLAGS= -W -Wall -I.. -pthread -g
|
|
|
|
|
|
|
|
all:
|
|
|
|
OS=`uname`; \
|
|
|
|
test "$$OS" = Linux && LIBS="-ldl" ; \
|
2011-06-18 00:29:46 +01:00
|
|
|
$(CC) $(CFLAGS) hello.c ../mongoose.c $$LIBS $(ADD) -o hello;
|
2012-09-15 10:52:52 +01:00
|
|
|
$(CC) $(CFLAGS) upload.c ../mongoose.c $$LIBS $(ADD) -o upload;
|
2012-08-31 09:24:34 +01:00
|
|
|
$(CC) $(CFLAGS) post.c ../mongoose.c $$LIBS $(ADD) -o post;
|
2012-09-19 12:23:54 +01:00
|
|
|
$(CC) $(CFLAGS) -DUSE_WEBSOCKET websocket.c ../mongoose.c $$LIBS $(ADD) -o websocket;
|
2011-06-18 00:29:46 +01:00
|
|
|
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o chat
|