aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLelixSuper <emanuele98@openmailbox.org>2016-04-03 15:58:44 +0200
committerLelixSuper <emanuele98@openmailbox.org>2016-04-03 15:58:44 +0200
commit565b1089bd6a4c97957c0c3df1a1ed2b829d2183 (patch)
tree38cfc1b682381e94874347f0db63d2fce0e03131
parent06a8d7eb06e1573d5cce991ca39f6cb1067ea6fb (diff)
downloadraylib-565b1089bd6a4c97957c0c3df1a1ed2b829d2183.tar.gz
raylib-565b1089bd6a4c97957c0c3df1a1ed2b829d2183.zip
Remove duplicate code
-rw-r--r--examples/Makefile22
-rw-r--r--templates/advance_game/Makefile22
-rw-r--r--templates/basic_game/Makefile22
-rw-r--r--templates/basic_test/Makefile22
-rw-r--r--templates/simple_game/Makefile22
-rw-r--r--templates/standard_game/Makefile22
6 files changed, 0 insertions, 132 deletions
diff --git a/examples/Makefile b/examples/Makefile
index e62488ae..cb59654f 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -119,28 +119,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile
index d790fe26..2c79a5ca 100644
--- a/templates/advance_game/Makefile
+++ b/templates/advance_game/Makefile
@@ -122,28 +122,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
diff --git a/templates/basic_game/Makefile b/templates/basic_game/Makefile
index 428c980a..178e16fc 100644
--- a/templates/basic_game/Makefile
+++ b/templates/basic_game/Makefile
@@ -122,28 +122,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
diff --git a/templates/basic_test/Makefile b/templates/basic_test/Makefile
index 835484f6..1fda24a2 100644
--- a/templates/basic_test/Makefile
+++ b/templates/basic_test/Makefile
@@ -121,28 +121,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile
index 707f858d..e2e6a09f 100644
--- a/templates/simple_game/Makefile
+++ b/templates/simple_game/Makefile
@@ -122,28 +122,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
diff --git a/templates/standard_game/Makefile b/templates/standard_game/Makefile
index 6c67be42..4ba7bf28 100644
--- a/templates/standard_game/Makefile
+++ b/templates/standard_game/Makefile
@@ -122,28 +122,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
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
-
# define any libraries to link into executable
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)