summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2022-10-24 13:37:08 +0200
committerRay <[email protected]>2022-10-24 13:37:08 +0200
commitd71505bdc65161a1b29b3d1e178c29231dca2a0a (patch)
tree69cc190ecf6206975eea3752d94353add4660976 /examples
parent483f10397ee37ba551e57bad563a846f2dc5bb5b (diff)
downloadraylib-d71505bdc65161a1b29b3d1e178c29231dca2a0a.tar.gz
raylib-d71505bdc65161a1b29b3d1e178c29231dca2a0a.zip
Update Makefile
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index e1c3a998..26d8b43e 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -279,12 +279,11 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# -s ASYNCIFY # lets synchronous C/C++ code interact with asynchronous JS
# -s FORCE_FILESYSTEM=1 # force filesystem to load/save files data
# -s ASSERTIONS=1 # enable runtime checks for common memory allocation errors (-O1 and above turn it off)
- # -s EXPORTED_RUNTIME_METHODS=ccall # require exporting some LEGACY_RUNTIME functions, ccall() is required by miniaudio
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --preload-file resources # specify a resources folder for data compilation
# --source-map-base # allow debugging in browser with source map
- LDFLAGS += -s USE_GLFW=3 -s ASYNCIFY -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS=ccall --preload-file $(dir $<)resources@resources
+ LDFLAGS += -s USE_GLFW=3 -s ASYNCIFY -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 -s --preload-file $(dir $<)resources@resources
# NOTE: Simple raylib examples are compiled to be interpreter with asyncify, that way,
# we can compile same code for ALL platforms with no change required, but, working on bigger