mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
9 lines
186 B
Makefile
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)
|