diff options
| author | raysan5 <raysan5@gmail.com> | 2019-01-01 20:53:30 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2019-01-01 20:53:30 +0100 |
| commit | d5735720b0cd8893320774e074694b48eb7b7d01 (patch) | |
| tree | 791f675ebb35440bdc522140a8ac7c6342484bef /src | |
| parent | 9740b1eb702cc6a7253891be2ebcc7bebb332973 (diff) | |
| download | raylib-d5735720b0cd8893320774e074694b48eb7b7d01.tar.gz raylib-d5735720b0cd8893320774e074694b48eb7b7d01.zip | |
Update Makefile for Emscripten
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index e3e9d31b..2c2bfb27 100644 --- a/src/Makefile +++ b/src/Makefile @@ -149,8 +149,8 @@ endif ifeq ($(PLATFORM),PLATFORM_WEB) # Emscripten required variables EMSDK_PATH = C:/emsdk - EMSCRIPTEN_VERSION = 1.38.20 - CLANG_VERSION = e1.38.20_64bit + EMSCRIPTEN_VERSION ?= 1.38.21 + CLANG_VERSION = e$(EMSCRIPTEN_VERSION)_64bit PYTHON_VERSION = 2.7.13.1_64bit\python-2.7.13.amd64 NODE_VERSION = 8.9.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) @@ -300,7 +300,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 USE_SDL=2 -s ASSERTIONS=1 --profiling + CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling endif ifeq ($(PLATFORM),PLATFORM_ANDROID) # Compiler flags for arquitecture |
