From 8ccb5589965514bcb6f228422498360f86aa0e6b Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 8 May 2017 21:04:14 +0200 Subject: First person camera now works on web --- docs/examples/web/makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/examples/web/makefile') diff --git a/docs/examples/web/makefile b/docs/examples/web/makefile index c7ffe514..a04f7949 100644 --- a/docs/examples/web/makefile +++ b/docs/examples/web/makefile @@ -58,6 +58,17 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) endif endif +ifeq ($(PLATFORM),PLATFORM_WEB) + # Emscripten required variables + EMSDK_PATH = C:/emsdk + EMSCRIPTEN_VERSION = 1.37.9 + CLANG_VERSION=e1.37.9_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) + EMSCRIPTEN=$(EMSDK_PATH)\emscripten\$(EMSCRIPTEN_VERSION) +endif + # define compiler: gcc for C program, define as g++ for C++ ifeq ($(PLATFORM),PLATFORM_WEB) # define emscripten compiler -- cgit v1.2.3