|
|
@ -71,8 +71,8 @@ endif |
|
|
|
ifeq ($(PLATFORM),PLATFORM_WEB) |
|
|
|
# Emscripten required variables |
|
|
|
EMSDK_PATH = C:/emsdk |
|
|
|
EMSCRIPTEN_VERSION = 1.37.9 |
|
|
|
CLANG_VERSION=e1.37.9_64bit |
|
|
|
EMSCRIPTEN_VERSION = 1.37.21 |
|
|
|
CLANG_VERSION=e1.37.21_64bit |
|
|
|
PYTHON_VERSION=2.7.5.3_64bit |
|
|
|
NODE_VERSION=4.1.1_64bit |
|
|
|
export PATH=$(EMSDK_PATH);$(EMSDK_PATH)\clang\$(CLANG_VERSION);$(EMSDK_PATH)\node\$(NODE_VERSION)\bin;$(EMSDK_PATH)\python\$(PYTHON_VERSION);$(EMSDK_PATH)\emscripten\$(EMSCRIPTEN_VERSION);C:\raylib\MinGW\bin:$$(PATH) |
|
|
@ -160,7 +160,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) |
|
|
|
# -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 |
|
|
|
CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling TOTAL_MEMORY=16777216 --preload-file resources |
|
|
|
CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling -s TOTAL_MEMORY=16777216 --preload-file resources |
|
|
|
endif |
|
|
|
|
|
|
|
# Define include paths for required headers
|
|
|
|