diff options
Diffstat (limited to '3rdparty/mongoose/examples/array_vars/Makefile')
-rw-r--r-- | 3rdparty/mongoose/examples/array_vars/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3rdparty/mongoose/examples/array_vars/Makefile b/3rdparty/mongoose/examples/array_vars/Makefile new file mode 100644 index 00000000000..5ce2d1db6cb --- /dev/null +++ b/3rdparty/mongoose/examples/array_vars/Makefile @@ -0,0 +1,21 @@ +# Copyright (c) 2014 Cesanta Software +# All rights reserved + +PROG = array_vars +CFLAGS = -W -Wall -I../.. -pthread -g -O0 $(CFLAGS_EXTRA) +SOURCES = $(PROG).c ../../mongoose.c + +all: $(PROG) + +run: $(PROG) + ./$(PROG) + +$(PROG): $(SOURCES) Makefile + $(CC) -o $(PROG) $(SOURCES) $(CFLAGS) + +win: + wine cl $(SOURCES) /MD /nologo /DNDEBUG /O1 /I../.. /Fe$(PROG).exe + wine $(PROG).exe + +clean: + rm -rf $(PROG) *.exe *.dSYM *.obj *.exp .*o *.lib *.gc* |