Skip to content

Commit

Permalink
Updated flags and cleanup in Makefile for web examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
mercere99 committed Feb 16, 2019
1 parent 4c1b826 commit 65b5142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/web/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 $*=$($*)
Expand Down

0 comments on commit 65b5142

Please sign in to comment.