2010-05-03 21:46:42 +01:00
|
|
|
PROG= chat
|
|
|
|
CFLAGS= -W -Wall -I.. -pthread -g
|
|
|
|
|
|
|
|
all:
|
|
|
|
OS=`uname`; \
|
|
|
|
test "$$OS" = Linux && LIBS="-ldl" ; \
|
2010-05-10 09:50:38 +02:00
|
|
|
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o $(PROG)
|
2010-05-03 21:46:42 +01:00
|
|
|
./$(PROG)
|