mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
12 lines
276 B
Makefile
12 lines
276 B
Makefile
PROG ?= example
|
|
CFLAGS ?= -W -Wall -Wextra -O0 -g
|
|
|
|
all: $(PROG)
|
|
$(RUN) ./$(PROG) $(ARGS)
|
|
|
|
$(PROG): main.c
|
|
$(CC) ../../mongoose.c -I../.. -W -Wall -DMG_ENABLE_LINES=1 $(CFLAGS) -o $(PROG) main.c
|
|
|
|
clean:
|
|
rm -rf $(PROG) *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb
|