mongoose/examples/Makefile
2010-05-10 09:50:38 +02:00

9 lines
186 B
Makefile

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