mongoose/examples/Makefile
2010-05-03 21:46:42 +01:00

9 lines
187 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)