summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile.Web
diff options
context:
space:
mode:
authorRay <[email protected]>2022-10-20 20:09:54 +0200
committerRay <[email protected]>2022-10-20 20:09:54 +0200
commit483f10397ee37ba551e57bad563a846f2dc5bb5b (patch)
treefb4c56479aba38c41341766b4d3fd00d7c2cdf97 /examples/Makefile.Web
parentd9f434afb9d1b2eb761a7f79125895d97ab02839 (diff)
downloadraylib-483f10397ee37ba551e57bad563a846f2dc5bb5b.tar.gz
raylib-483f10397ee37ba551e57bad563a846f2dc5bb5b.zip
review note
Diffstat (limited to 'examples/Makefile.Web')
-rw-r--r--examples/Makefile.Web5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/Makefile.Web b/examples/Makefile.Web
index 3a83b7bb..d7e64086 100644
--- a/examples/Makefile.Web
+++ b/examples/Makefile.Web
@@ -279,6 +279,7 @@ 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
@@ -328,6 +329,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(RAYLIB_LIBTYPE),SHARED)
LDLIBS += -lc
endif
+
+ # NOTE: On ARM 32bit arch, miniaudio requires atomics library
+ LDLIBS += -latomic
endif
ifeq ($(PLATFORM_OS),OSX)
# Libraries for OSX 10.9 desktop compiling
@@ -466,6 +470,7 @@ MODELS = \
models/models_loading \
models/models_loading_vox \
models/models_loading_gltf \
+ models/models_loading_m3d \
models/models_orthographic_projection \
models/models_rlgl_solar_system \
models/models_skybox \