diff options
| author | Philip Shenk <[email protected]> | 2022-01-21 02:53:25 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-21 08:53:25 +0100 |
| commit | dfac74ffa7f2f24516ec18a3fa6345a2d238f247 (patch) | |
| tree | b30dbdd35591e1ad322480dcfcc2fd46ed8a58f4 /projects/VSCode/Makefile | |
| parent | 3c359ff4bcecfc02d415448fcdd137154645823a (diff) | |
| download | raylib-dfac74ffa7f2f24516ec18a3fa6345a2d238f247.tar.gz raylib-dfac74ffa7f2f24516ec18a3fa6345a2d238f247.zip | |
updated VSCode project to work with latest raylib makefile and 'working for web' instructions (#2296)
Diffstat (limited to 'projects/VSCode/Makefile')
| -rw-r--r-- | projects/VSCode/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/projects/VSCode/Makefile b/projects/VSCode/Makefile index d89a80ff..9907c036 100644 --- a/projects/VSCode/Makefile +++ b/projects/VSCode/Makefile @@ -117,13 +117,12 @@ endif ifeq ($(PLATFORM),PLATFORM_WEB) # Emscripten required variables - EMSDK_PATH ?= C:/emsdk - EMSCRIPTEN_VERSION ?= 1.38.31 - 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) - EMSCRIPTEN = $(EMSDK_PATH)\emscripten\$(EMSCRIPTEN_VERSION) + EMSDK_PATH ?= C:/emsdk + EMSCRIPTEN_PATH ?= $(EMSDK_PATH)/upstream/emscripten + CLANG_PATH = $(EMSDK_PATH)/upstream/bin + PYTHON_PATH = $(EMSDK_PATH)/python/3.9.2-1_64bit + NODE_PATH = $(EMSDK_PATH)/node/14.18.2_64bit/bin + export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH):$$(PATH) endif # Define raylib release directory for compiled library. @@ -344,7 +343,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI) endif ifeq ($(PLATFORM),PLATFORM_WEB) # Libraries for web (HTML5) compiling - LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.bc + LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.a endif # Define a recursive wildcard function |
