mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Added examples/hello.c - a minimalistic embedding example
This commit is contained in:
1 parent
377cece9c0
commit
9bd2812fac
2 files changed
+30
-3
No files matched your search
+2
-3
@@ -1,8 +1,7 @@
|
||||
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)
|
||||
$(CC) $(CFLAGS) hello.c ../mongoose.c $$LIBS $(ADD) -o hello;
|
||||
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o chat
|
||||
Reference in new issue
Block a user