Browse Source

Merge pull request #669 from dj0nes/master

Remove non-Windows includes from Makefile
Ray 6 years ago
parent
commit
1dba2788bb
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/Makefile

+ 4 - 1
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)