summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2019-05-23 11:00:57 +0200
committerRay <[email protected]>2019-05-23 11:00:57 +0200
commit3c0ebe0f600ff65fedccd23710f2717d2e63e92c (patch)
treee4d10656cc145b18319883ecf0795eaaa07dad13
parent0a53c1eea558f1a5ebe65f05eaaf2216a6fe1869 (diff)
downloadraylib.com-3c0ebe0f600ff65fedccd23710f2717d2e63e92c.tar.gz
raylib.com-3c0ebe0f600ff65fedccd23710f2717d2e63e92c.zip
Some Makefile tweaks
-rw-r--r--examples/web/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/web/Makefile b/examples/web/Makefile
index 3a4a821..d47e7bb 100644
--- a/examples/web/Makefile
+++ b/examples/web/Makefile
@@ -28,6 +28,7 @@ PROJECT_NAME ?= raylib_examples
RAYLIB_VERSION ?= 2.5.0
RAYLIB_API_VERSION ?= 2
RAYLIB_PATH ?= C:\GitHub\raylib
+RAYLIB_PATH ?= D:\GitHub\raylib
# Define default options
@@ -237,7 +238,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# NOTE: On PLATFORM_WEB, every example requires its own flags
# Define a custom shell .html and output extension
- CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
+ CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
EXT = .html
endif
@@ -786,7 +787,7 @@ models/models_animation: models/models_animation.c
# compile [models] example - models skybox
models/models_skybox: models/models_skybox.c
ifeq ($(PLATFORM), $(filter $(PLATFORM),PLATFORM_DESKTOP))
- $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
+ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
--preload-file models/resources/dresden_square.hdr@resources/dresden_square.hdr
else
@echo models_skybox: Example not supported on PLATFORM_ANDROID, PLATFORM_WEB or PLATFORM_RPI