From 65b51424cc7067d791103e8bf19820015af5612c Mon Sep 17 00:00:00 2001 From: Charles Ofria Date: Fri, 15 Feb 2019 23:46:58 -0500 Subject: [PATCH] Updated flags and cleanup in Makefile for web examples. --- examples/web/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/web/Makefile b/examples/web/Makefile index e049312278..8a6b211106 100644 --- a/examples/web/Makefile +++ b/examples/web/Makefile @@ -1,5 +1,5 @@ # Flags to use regardless of compiler -CFLAGS_all := -std=c++17 -Wall -Wno-unused-function -I../../source/ +CFLAGS_all := -std=c++17 -Wall -Wno-unused-function -Wno-gnu-zero-variadic-macro-arguments -I../../source/ # Emscripten compiler information CXX_web := emcc @@ -54,7 +54,7 @@ debug-%: $*.cc $(CXX_native) $(CFLAGS_native) $< -o $@ clean: - rm -f debug-* $(JS_TARGETS) *.js.map *.js.mem *~ source/*.o source/*/*.o + rm -f debug-* $(JS_TARGETS) *.js.map *.js.mem *.wasm *.wasm.map *.wast *~ source/*.o source/*/*.o # Debugging information #print-%: ; @echo $*=$($*)