summaryrefslogtreecommitdiffhomepage
path: root/examples/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/Makefile')
-rw-r--r--examples/web/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/web/Makefile b/examples/web/Makefile
index 8c1d563..d0429f0 100644
--- a/examples/web/Makefile
+++ b/examples/web/Makefile
@@ -126,8 +126,8 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
EMSDK_PATH ?= C:/emsdk
EMSCRIPTEN_PATH ?= $(EMSDK_PATH)/upstream/emscripten
CLANG_PATH = $(EMSDK_PATH)/upstream/bin
- PYTHON_PATH = $(EMSDK_PATH)/python/3.7.4-pywin32_64bit
- NODE_PATH = $(EMSDK_PATH)/node/12.18.1_64bit/bin
+ PYTHON_PATH = $(EMSDK_PATH)/python/3.9.2-1_64bit
+ NODE_PATH = $(EMSDK_PATH)/node/14.15.5_64bit/bin
export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH);C:\raylib\MinGW\bin:$$(PATH)
endif
@@ -979,7 +979,8 @@ shaders/shaders_simple_mask: shaders/shaders_simple_mask.c
shaders/shaders_spotlight: shaders/shaders_spotlight.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s ASYNCIFY \
- --preload-file shaders/resources/raysan.png@resources/raysan.png
+ --preload-file shaders/resources/raysan.png@resources/raysan.png \
+ --preload-file shaders/resources/shaders/glsl100/spotlight.fs@resources/shaders/glsl100/spotlight.fs
shaders/shaders_hot_reloading: shaders/shaders_hot_reloading.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s ASYNCIFY -s FORCE_FILESYSTEM=1