aboutsummaryrefslogtreecommitdiff
path: root/templates/basic_test
diff options
context:
space:
mode:
authorLelixSuper <emanuele98@openmailbox.org>2016-03-13 14:01:12 +0100
committerLelixSuper <emanuele98@openmailbox.org>2016-03-13 14:01:12 +0100
commit530e520727180d1ded6249ffd8cfac4814eae867 (patch)
tree2a7ebd326c70892fbe9a0547eeb3036f0b0525c9 /templates/basic_test
parent2e3e62a413d35eb8d8a64f6ed68881701bfb9bd9 (diff)
downloadraylib-530e520727180d1ded6249ffd8cfac4814eae867.tar.gz
raylib-530e520727180d1ded6249ffd8cfac4814eae867.zip
Convert tabs to spaces when it is possible in Makefile files
Diffstat (limited to 'templates/basic_test')
-rw-r--r--templates/basic_test/Makefile68
1 files changed, 45 insertions, 23 deletions
diff --git a/templates/basic_test/Makefile b/templates/basic_test/Makefile
index 84fc24cb..1256e170 100644
--- a/templates/basic_test/Makefile
+++ b/templates/basic_test/Makefile
@@ -84,18 +84,18 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
INCLUDES = -I. -I../../src -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
- # add standard directories for GNU/Linux
+ # add standard directories for GNU/Linux
ifeq ($(PLATFORM_OS),LINUX)
- INCLUDES = -I. -I../src -I/usr/local/include/raylib/
+ INCLUDES = -I. -I../src -I/usr/local/include/raylib/
else
- INCLUDES = -I. -I../../src -IC:/raylib/raylib/src
- # external libraries headers
- # GLFW3
- INCLUDES += -I../../external/glfw3/include
- # GLEW - Not required any more, replaced by GLAD
- #INCLUDES += -I../external/glew/include
- # OpenAL Soft
- INCLUDES += -I../../external/openal_soft/include
+ INCLUDES = -I. -I../../src -IC:/raylib/raylib/src
+ # external libraries headers
+ # GLFW3
+ INCLUDES += -I../../external/glfw3/include
+ # GLEW - Not required any more, replaced by GLAD
+ #INCLUDES += -I../external/glew/include
+ # OpenAL Soft
+ INCLUDES += -I../../external/openal_soft/include
endif
endif
@@ -104,20 +104,42 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
LFLAGS = -L. -L../../src -L/opt/vc/lib
endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
- # add standard directories for GNU/Linux
+ # add standard directories for GNU/Linux
ifeq ($(PLATFORM_OS),LINUX)
- LFLAGS = -L. -L../../src
- else
- LFLAGS = -L. -L../../src -LC:/raylib/raylib/src
- # external libraries to link with
- # GLFW3
- LFLAGS += -L../../external/glfw3/lib/$(LIBPATH)
- ifneq ($(PLATFORM_OS),OSX)
- # OpenAL Soft
- LFLAGS += -L../../external/openal_soft/lib/$(LIBPATH)
- # GLEW: Not used, replaced by GLAD
- #LFLAGS += -L../../external/glew/lib/$(LIBPATH)
- endif
+ LFLAGS = -L. -L../../src
+ else
+ LFLAGS = -L. -L../../src -LC:/raylib/raylib/src
+ # external libraries to link with
+ # GLFW3
+ LFLAGS += -L../../external/glfw3/lib/$(LIBPATH)
+ ifneq ($(PLATFORM_OS),OSX)
+ # OpenAL Soft
+ LFLAGS += -L../../external/openal_soft/lib/$(LIBPATH)
+ # GLEW: Not used, replaced by GLAD
+ #LFLAGS += -L../../external/glew/lib/$(LIBPATH)
+ endif
+ endif
+endif
+
+# define library paths containing required libs
+ifeq ($(PLATFORM),PLATFORM_RPI)
+ LFLAGS = -L. -L../../src -L/opt/vc/lib
+endif
+ifeq ($(PLATFORM),PLATFORM_DESKTOP)
+ # add standard directories for GNU/Linux
+ ifeq ($(PLATFORM_OS),LINUX)
+ LFLAGS = -L. -L../../src
+ else
+ LFLAGS = -L. -L../../src -LC:/raylib/raylib/src
+ # external libraries to link with
+ # GLFW3
+ LFLAGS += -L../../external/glfw3/lib/$(LIBPATH)
+ ifneq ($(PLATFORM_OS),OSX)
+ # OpenAL Soft
+ LFLAGS += -L../../external/openal_soft/lib/$(LIBPATH)
+ # GLEW
+ LFLAGS += -L../../external/glew/lib/$(LIBPATH)
+ endif
endif
endif