aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-12-31 13:34:03 +0100
committerraysan5 <raysan5@gmail.com>2015-12-31 13:34:03 +0100
commit5335f262be89c13271fe4dbaac53c97f6158806d (patch)
treefbe9b6c98da5091444032c1fe44d7b20b9e39467 /examples
parentb11cda959da6c8cbd3be4bd06273fa2e3110dff1 (diff)
downloadraylib-5335f262be89c13271fe4dbaac53c97f6158806d.tar.gz
raylib-5335f262be89c13271fe4dbaac53c97f6158806d.zip
Updated makefiles
Diffstat (limited to 'examples')
-rw-r--r--examples/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/makefile b/examples/makefile
index dac378ce..04dc7756 100644
--- a/examples/makefile
+++ b/examples/makefile
@@ -113,8 +113,10 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX)
# libraries for Debian GNU/Linux desktop compiling
# requires the following packages:
- # libopenal-dev libglew-dev libegl1-mesa-dev
- LIBS = -lraylib -lglfw3 -lGLEW -lGL -lopenal -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor -lm -pthread
+ # libglfw3-dev libopenal-dev libglew-dev libegl1-mesa-dev
+ LIBS = -lraylib -lglfw3 -lGLEW -lGL -lopenal -lm -pthread
+ # on XWindow could require also below libraries, just uncomment
+ #LIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
else
ifeq ($(PLATFORM_OS),OSX)
# libraries for OS X 10.9 desktop compiling
@@ -134,6 +136,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
LIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lopenal
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
+ # just adjust the correct path to libraylib.bc
LIBS = ../src/libraylib.bc
endif