aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index cde8ca9a..7d160852 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -33,6 +33,10 @@ PLATFORM ?= PLATFORM_DESKTOP
# define raylib directory for include and library
RAYLIB_PATH ?= C:\raylib\raylib
+ifeq ($(PLATFORM),PLATFORM_RPI)
+ RAYLIB_PATH = /home/pi/raylib
+endif
+
# define NO to use OpenAL Soft as static library (shared by default)
SHARED_OPENAL ?= NO
@@ -131,7 +135,7 @@ endif
INCLUDES = -I. -I$(RAYLIB_RELEASE) -I$(RAYLIB_PATH)/src -I$(RAYLIB_PATH)/src/external
ifeq ($(PLATFORM),PLATFORM_RPI)
- INCLUDES += -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
+ INCLUDES += -I../src -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)