diff options
| author | Ray <raysan5@gmail.com> | 2016-04-03 18:20:04 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2016-04-03 18:20:04 +0200 |
| commit | 37cc45a0a887c55815fffed0c887508ff8956d1b (patch) | |
| tree | 1730cf01b1e0fe42552c3c56383e0d4304fcd1ee /examples | |
| parent | 06a8d7eb06e1573d5cce991ca39f6cb1067ea6fb (diff) | |
| parent | a04a7b6ea53ed291a742baf764bd604d9fc7b70e (diff) | |
| download | raylib-37cc45a0a887c55815fffed0c887508ff8956d1b.tar.gz raylib-37cc45a0a887c55815fffed0c887508ff8956d1b.zip | |
Merge pull request #107 from LelixSuper/develop
Cleaning of Makefile files
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/examples/Makefile b/examples/Makefile index e62488ae..74335fe8 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -90,8 +90,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) # 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 @@ -113,30 +111,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) 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 @@ -147,14 +121,14 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),LINUX) # libraries for Debian GNU/Linux desktop compiling # requires the following packages: - # libglfw3-dev libopenal-dev libglew-dev libegl1-mesa-dev + # libglfw3-dev libopenal-dev libegl1-mesa-dev LIBS = -lraylib -lglfw3 -lGL -lopenal -lm -pthread -ldl -lX11 \ -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor else ifeq ($(PLATFORM_OS),OSX) # libraries for OS X 10.9 desktop compiling # requires the following packages: - # libglfw3-dev libopenal-dev libglew-dev libegl1-mesa-dev + # libglfw3-dev libopenal-dev libegl1-mesa-dev LIBS = -lraylib -lglfw -framework OpenGL -framework OpenAl -framework Cocoa else # libraries for Windows desktop compiling |
