From bfa66f446a100eef4e04ffdfe2877feefe503754 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 2 Jul 2017 12:09:02 +0200 Subject: [PATCH] Review raylib path on rpi --- examples/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)