diff options
| author | Joshua Reisenauer <kd7tck@msn.com> | 2016-05-16 19:54:03 -0700 |
|---|---|---|
| committer | Joshua Reisenauer <kd7tck@msn.com> | 2016-05-16 19:54:03 -0700 |
| commit | cd7f25830bcf1f1bdc2efcde8ec70759b8eac3fc (patch) | |
| tree | 1b93a694de0babedbf23f884e75a098eca210c52 /examples/Makefile | |
| parent | 706755d1464bd65623755c6c2b4df931a37e9eb5 (diff) | |
| parent | 0e29aa2951fe11e9d0fabec2182ed6309fce37bb (diff) | |
| download | raylib-cd7f25830bcf1f1bdc2efcde8ec70759b8eac3fc.tar.gz raylib-cd7f25830bcf1f1bdc2efcde8ec70759b8eac3fc.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index 74335fe8..534adee8 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -85,6 +85,8 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) # add standard directories for GNU/Linux ifeq ($(PLATFORM_OS),LINUX) INCLUDES = -I. -I../src -I/usr/local/include/raylib/ + else ifeq ($(PLATFORM_OS),OSX) + INCLUDES = -I. -I../src else INCLUDES = -I. -I../../src -IC:/raylib/raylib/src # external libraries headers @@ -103,6 +105,8 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) # add standard directories for GNU/Linux ifeq ($(PLATFORM_OS),LINUX) LFLAGS = -L. -L../../src + else ifeq ($(PLATFORM_OS),OSX) + LFLAGS = -L. -L../src else LFLAGS = -L. -L../../src -LC:/raylib/raylib/src # external libraries to link with @@ -129,7 +133,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) # libraries for OS X 10.9 desktop compiling # requires the following packages: # libglfw3-dev libopenal-dev libegl1-mesa-dev - LIBS = -lraylib -lglfw -framework OpenGL -framework OpenAl -framework Cocoa + LIBS = -lraylib -lglfw3 -framework OpenGL -framework OpenAl -framework Cocoa else # libraries for Windows desktop compiling # NOTE: GLFW3 and OpenAL Soft libraries should be installed |
