diff options
| author | RDR8 <rdr8@protonmail.com> | 2017-03-29 16:04:29 -0500 |
|---|---|---|
| committer | RDR8 <rdr8@protonmail.com> | 2017-03-29 16:04:29 -0500 |
| commit | 44de97ea160b0be2591be1108c389479faab8d45 (patch) | |
| tree | ac7321f9ef1d4ea8221aa01089e660ff477e2326 /examples | |
| parent | f65bd8e4a05813e8c67348d42cce270a9bc05d0d (diff) | |
| download | raylib-44de97ea160b0be2591be1108c389479faab8d45.tar.gz raylib-44de97ea160b0be2591be1108c389479faab8d45.zip | |
Fine-tuning PLATFORM_WEB CFLAGS
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile index 1a4be85a..b7b83f9b 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -87,9 +87,11 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) endif endif ifeq ($(PLATFORM),PLATFORM_WEB) - CFLAGS = -O2 -Wall -std=c99 -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources - #-s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing - #-s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB) + CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources + # -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 + #-s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB) endif ifeq ($(PLATFORM),PLATFORM_RPI) CFLAGS = -O2 -s -Wall -std=gnu99 -fgnu89-inline |
