aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-10-18 13:49:33 +0200
committerGitHub <noreply@github.com>2018-10-18 13:49:33 +0200
commit1dba2788bb5ce87412d76ebc4957f7222290b432 (patch)
treeb5e4491ec628a9037723e5f57d09f3d57ee5fcfd /src
parentc2aa1fed7b4b75c9bb560ffb9ff6cd8c99d7dd41 (diff)
parent59bbad9360ef87f66532cc665435a883e88b7e1e (diff)
downloadraylib-1dba2788bb5ce87412d76ebc4957f7222290b432.tar.gz
raylib-1dba2788bb5ce87412d76ebc4957f7222290b432.zip
Merge pull request #669 from dj0nes/master
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)