mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-22 14:48:04 +08:00
14 lines
303 B
Makefile
14 lines
303 B
Makefile
|
SOURCES = $(PROG).c ../../mongoose.c
|
||
|
CFLAGS = -W -Wall -I../.. -Wno-unused-function $(CFLAGS_EXTRA) $(MODULE_CFLAGS)
|
||
|
|
||
|
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)
|