aboutsummaryrefslogtreecommitdiff
path: root/templates/basic_game/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'templates/basic_game/Makefile')
-rw-r--r--templates/basic_game/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/basic_game/Makefile b/templates/basic_game/Makefile
index 3b2a06d0..76337490 100644
--- a/templates/basic_game/Makefile
+++ b/templates/basic_game/Makefile
@@ -109,7 +109,10 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX)
LFLAGS = -L. -L../../src
else
- LFLAGS = -L. -L../../src -LC:/raylib/raylib/src
+ LFLAGS = -L. -L../../src
+ ifeq ($(PLATFORM_OS),WINDOWS)
+ LFLAGS += -LC:/raylib/raylib/src
+ endif
# external libraries to link with
# GLFW3
LFLAGS += -L../../external/glfw3/lib/$(LIBPATH)