From 73a54fcc3db920d6f4453e23a8971217740305c8 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 2 May 2019 00:15:46 +0200 Subject: [PATCH] Update Makefile --- examples/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index cffc9fdf..271606ff 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -246,9 +246,10 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # -s WASM=1 # support Web Assembly (https://github.com/kripken/emscripten/wiki/WebAssembly) # -s EMTERPRETIFY=1 # enable emscripten code interpreter (very slow) # -s EMTERPRETIFY_ASYNC=1 # support synchronous loops by emterpreter + # -s FORCE_FILESYSTEM=1 # force filesystem to load/save files data # --profiling # include information for code profiling # --preload-file resources # specify a resources folder for data compilation - CFLAGS += -Os -s USE_GLFW=3 -s ASSERTIONS=2 -s WASM=1 + CFLAGS += -Os -s USE_GLFW=3 -s ASSERTIONS=2 -s WASM=1 -s FORCE_FILESYSTEM=1 # -s EMTERPRETIFY=1 -s EMTERPRETIFY_ASYNC=1 --preload-file audio/resources@resources # NOTE: Simple raylib examples are compiled to be interpreter by emterpreter, that way,