summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2019-05-02 00:15:46 +0200
committerRay <[email protected]>2019-05-02 00:15:46 +0200
commit73a54fcc3db920d6f4453e23a8971217740305c8 (patch)
treeb75c78a350a9d4d370600e5c736f033e340ece3f /examples
parent0f84f9f51fed08f8687645cd4a5048453eb22838 (diff)
downloadraylib-73a54fcc3db920d6f4453e23a8971217740305c8.tar.gz
raylib-73a54fcc3db920d6f4453e23a8971217740305c8.zip
Update Makefile
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile3
1 files changed, 2 insertions, 1 deletions
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,