aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDillon Jones <dillon.z.jones@gmail.com>2018-10-18 07:28:57 -0400
committerDillon Jones <dillon.z.jones@gmail.com>2018-10-18 07:31:22 -0400
commit59bbad9360ef87f66532cc665435a883e88b7e1e (patch)
treeb5e4491ec628a9037723e5f57d09f3d57ee5fcfd /src
parentc2aa1fed7b4b75c9bb560ffb9ff6cd8c99d7dd41 (diff)
downloadraylib-59bbad9360ef87f66532cc665435a883e88b7e1e.tar.gz
raylib-59bbad9360ef87f66532cc665435a883e88b7e1e.zip
Remove non-Windows includes from Makefile
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 28b73beb..2932e7bb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -339,9 +339,12 @@ endif
# Define include paths for required headers
# NOTE: Several external required libraries (stb and others)
-INCLUDE_PATHS = -I. -Iexternal -Iexternal/glfw/include
+INCLUDE_PATHS = -I. -Iexternal/glfw/include
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
+ ifeq ($(PLATFORM_OS),WINDOWS)
+ INCLUDE_PATHS += -Iexternal
+ endif
ifeq ($(PLATFORM_OS),BSD)
INCLUDE_PATHS += -I/usr/local/include
LDFLAGS += -L. -Lsrc -L/usr/local/lib -L$(RAYLIB_RELEASE_PATH)