aboutsummaryrefslogtreecommitdiff
path: root/templates/basic_test
diff options
context:
space:
mode:
authorChris Hemingway <chris.hemingway@gmail.com>2016-05-14 10:45:29 +0100
committerChris Hemingway <chris.hemingway@gmail.com>2016-05-14 10:45:29 +0100
commitf575935ace109149277a57f6216c5df1b94eeac9 (patch)
tree66ae60eb7034a732506fe9034f9feb91800f652c /templates/basic_test
parentb46a8005979bb626f4e7a7199932c4b85e9efb3a (diff)
downloadraylib-f575935ace109149277a57f6216c5df1b94eeac9.tar.gz
raylib-f575935ace109149277a57f6216c5df1b94eeac9.zip
Fix glfw name on OSX and remove unused directory warning
Diffstat (limited to 'templates/basic_test')
-rw-r--r--templates/basic_test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/basic_test/Makefile b/templates/basic_test/Makefile
index b08aacdf..b6fd44a7 100644
--- a/templates/basic_test/Makefile
+++ b/templates/basic_test/Makefile
@@ -108,7 +108,10 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX)
LFLAGS = -L. -L../../src
else
- LFLAGS = -L. -L../../src -LC:/raylib/raylib/src
+ LFLAGS = -L. -L../../src
+ ifeq ($(PLATFORM_OS),WINDOWS)
+ LFLAGS += -LC:/raylib/raylib/src
+ endif
# external libraries to link with
# GLFW3
LFLAGS += -L../../external/glfw3/lib/$(LIBPATH)
@@ -133,7 +136,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