mongoose/examples/Makefile

8 lines
226 B
Makefile
Raw Normal View History

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) chat.c ../mongoose.c $$LIBS $(ADD) -o chat