|
@ -94,7 +94,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) |
|
|
endif |
|
|
endif |
|
|
endif |
|
|
endif |
|
|
ifeq ($(PLATFORM),PLATFORM_WEB) |
|
|
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 -DPLATFORM_WEB -D_DEFAULT_SOURCE -s USE_GLFW=3 -s ASSERTIONS=1 -s TOTAL_MEMORY=67108864 --profiling --preload-file resources |
|
|
# -O2 # if used, also set --memory-init-file 0 |
|
|
# -O2 # if used, also set --memory-init-file 0 |
|
|
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem) |
|
|
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem) |
|
|
# -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing |
|
|
# -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing |
|
|