summaryrefslogtreecommitdiffhomepage
path: root/projects/VSCode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'projects/VSCode/Makefile')
-rw-r--r--projects/VSCode/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/VSCode/Makefile b/projects/VSCode/Makefile
index e3c25c76..13a2853b 100644
--- a/projects/VSCode/Makefile
+++ b/projects/VSCode/Makefile
@@ -29,8 +29,10 @@ RAYLIB_VERSION ?= 2.5.0
RAYLIB_API_VERSION ?= 251
RAYLIB_PATH ?= ..\..
-# Define default options
+# Define compiler path on Windows
+COMPILER_PATH ?= C:/raylib/mingw/bin
+# Define default options
# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
PLATFORM ?= PLATFORM_DESKTOP
@@ -68,6 +70,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
# ifeq ($(UNAME),Msys) -> Windows
ifeq ($(OS),Windows_NT)
PLATFORM_OS=WINDOWS
+ export PATH := $(COMPILER_PATH):$(PATH)
else
UNAMEOS=$(shell uname)
ifeq ($(UNAMEOS),Linux)