summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2017-04-04 12:17:08 +0200
committerGitHub <[email protected]>2017-04-04 12:17:08 +0200
commit407746193d991190fa4dead94649abb2ed27d462 (patch)
treef79f67c3df8ed657a27abba6029a71be359871df /src/Makefile
parent5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3 (diff)
parent1f56e8e5d0000e1c46483530331887dbd0f8ce75 (diff)
downloadraylib-407746193d991190fa4dead94649abb2ed27d462.tar.gz
raylib-407746193d991190fa4dead94649abb2ed27d462.zip
Merge pull request #256 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 598a9be4..4259a66b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -172,9 +172,12 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
endif
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
- CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 -s ASSERTIONS=1 --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)
+ # -s USE_PTHREADS=1 # multithreading support
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline -Wno-missing-braces