2
0
Ray 8 жил өмнө
parent
commit
73774aadd6

+ 1 - 1
games/light_my_ritual/makefile

@@ -94,7 +94,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
     endif
 endif
 ifeq ($(PLATFORM),PLATFORM_WEB)
-    CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources -s ALLOW_MEMORY_GROWTH=1
+    CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources -s TOTAL_MEMORY=33554432
     # -O2                         # if used, also set --memory-init-file 0
     # --memory-init-file 0        # to avoid an external memory initialization code file (.mem)
     # -s ALLOW_MEMORY_GROWTH=1    # to allow memory resizing

+ 2 - 2
src/Makefile

@@ -39,7 +39,7 @@ PLATFORM ?= PLATFORM_DESKTOP
 SHARED ?= NO
 
 # define NO to use OpenAL Soft as static library (or shared by default)
-SHARED_OPENAL ?= YES
+SHARED_OPENAL ?= NO
 
 # on PLATFORM_WEB force OpenAL Soft shared library
 ifeq ($(PLATFORM),PLATFORM_WEB)
@@ -304,7 +304,7 @@ else
 			@echo "raylib shared library (libraylib.so) generated!"
         endif
     else
-		# compile raylib static library.
+        # compile raylib static library.
 		$(AR) rcs $(OUTPUT_PATH)/libraylib.a $(OBJS)
 		@echo "libraylib.a generated (static library)!"
         ifeq ($(SHARED_OPENAL),NO)