mongoose/examples/Makefile
2012-08-31 09:24:34 +01:00

9 lines
290 B
Makefile

CFLAGS= -W -Wall -I.. -pthread -g
all:
OS=`uname`; \
test "$$OS" = Linux && LIBS="-ldl" ; \
$(CC) $(CFLAGS) hello.c ../mongoose.c $$LIBS $(ADD) -o hello;
$(CC) $(CFLAGS) post.c ../mongoose.c $$LIBS $(ADD) -o post;
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o chat