mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Remove examples
This commit is contained in:
1 parent
e81f8373a2
commit
551f393da7
352 files changed
-195425
No files matched your search
@@ -1,28 +0,0 @@
|
||||
PROG = api_server
|
||||
SOURCES = $(PROG).c sqlite3.c db_plugin_sqlite.c ../../mongoose.c
|
||||
CFLAGS = -W -Wall $(CFLAGS_EXTRA)
|
||||
|
||||
|
||||
ifeq ($(OS), Windows_NT)
|
||||
CFLAGS += -lws2_32
|
||||
CC = gcc
|
||||
else
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
CFLAGS += -ldl -lm -pthread
|
||||
endif
|
||||
endif
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(SOURCES)
|
||||
$(CC) $(SOURCES) -o $@ $(CFLAGS)
|
||||
|
||||
$(PROG).exe: $(SOURCES)
|
||||
cl $(SOURCES) /I.. /MD /Fe$@
|
||||
|
||||
test: $(PROG)
|
||||
sh unit_test.sh $$(pwd)/$(PROG)
|
||||
|
||||
clean:
|
||||
rm -rf *.gc* *.dSYM *.exe *.obj *.o a.out $(PROG)
|
||||
Reference in new issue
Block a user