mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-19 12:08:05 +08:00
518a7f8a71
PUBLISHED_FROM=132db6ed9c9e1eb9ec19b4f9299448b901b92231
15 lines
314 B
Makefile
15 lines
314 B
Makefile
PROG = simplest_web_server
|
|
SOURCES = $(PROG).c ../../mongoose.c
|
|
CFLAGS = -W -Wall -I../.. $(CFLAGS_EXTRA) -DMG_DISABLE_DAV_AUTH
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): $(SOURCES)
|
|
$(CC) $(SOURCES) -o $@ $(CFLAGS)
|
|
|
|
$(PROG).exe: $(SOURCES)
|
|
cl $(SOURCES) /I../.. /MD /Fe$@
|
|
|
|
clean:
|
|
rm -rf *.gc* *.dSYM *.exe *.obj *.o a.out $(PROG)
|