|
|
@ -127,14 +127,16 @@ endif |
|
|
|
# Define raylib release directory for compiled library
|
|
|
|
# Define raylib release directory for compiled library
|
|
|
|
RAYLIB_RELEASE_PATH ?= $(RAYLIB_PATH)/src
|
|
|
|
RAYLIB_RELEASE_PATH ?= $(RAYLIB_PATH)/src
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),PLATFORM_WEB) |
|
|
|
ifeq ($(OS),Windows_NT) |
|
|
|
# Emscripten required variables
|
|
|
|
ifeq ($(PLATFORM),PLATFORM_WEB)
|
|
|
|
EMSDK_PATH ?= C:/emsdk
|
|
|
|
# Emscripten required variables
|
|
|
|
EMSCRIPTEN_PATH ?= $(EMSDK_PATH)/upstream/emscripten
|
|
|
|
EMSDK_PATH ?= C:/emsdk
|
|
|
|
CLANG_PATH = $(EMSDK_PATH)/upstream/bin
|
|
|
|
EMSCRIPTEN_PATH ?= $(EMSDK_PATH)/upstream/emscripten
|
|
|
|
PYTHON_PATH = $(EMSDK_PATH)/python/3.9.2-1_64bit
|
|
|
|
CLANG_PATH = $(EMSDK_PATH)/upstream/bin
|
|
|
|
NODE_PATH = $(EMSDK_PATH)/node/14.15.5_64bit/bin
|
|
|
|
PYTHON_PATH = $(EMSDK_PATH)/python/3.9.2-1_64bit
|
|
|
|
export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH):$$(PATH)
|
|
|
|
NODE_PATH = $(EMSDK_PATH)/node/14.15.5_64bit/bin
|
|
|
|
|
|
|
|
export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH):$$(PATH)
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
# Define default C compiler: CC
|
|
|
|
# Define default C compiler: CC
|
|
|
|