diff options
| author | Ray <[email protected]> | 2017-05-03 14:16:42 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-05-03 14:16:42 +0200 |
| commit | 73774aadd63bba93908ee57f1e711c9bf2c70b53 (patch) | |
| tree | f550c17eff5757a6d2a32625c50d7f3a723f1046 | |
| parent | a64e909e5508cfa9ec5539f27269c7c684b06221 (diff) | |
| download | raylib-73774aadd63bba93908ee57f1e711c9bf2c70b53.tar.gz raylib-73774aadd63bba93908ee57f1e711c9bf2c70b53.zip | |
Review makefiles
| -rw-r--r-- | games/light_my_ritual/makefile | 2 | ||||
| -rw-r--r-- | src/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/games/light_my_ritual/makefile b/games/light_my_ritual/makefile index 287538c5..7bede523 100644 --- a/games/light_my_ritual/makefile +++ b/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 diff --git a/src/Makefile b/src/Makefile index b616b583..7dce33b9 100644 --- a/src/Makefile +++ b/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) |
