mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-19 20:18:11 +08:00
11 lines
448 B
Makefile
11 lines
448 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) upload.c ../mongoose.c $$LIBS $(ADD) -o upload;
|
|
$(CC) $(CFLAGS) post.c ../mongoose.c $$LIBS $(ADD) -o post;
|
|
$(CC) $(CFLAGS) -DUSE_WEBSOCKET websocket.c ../mongoose.c $$LIBS $(ADD) -o websocket;
|
|
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o chat
|