diff options
| author | raysan5 <raysan5@gmail.com> | 2017-07-02 12:09:02 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-07-02 12:09:02 +0200 |
| commit | bfa66f446a100eef4e04ffdfe2877feefe503754 (patch) | |
| tree | 0269f02da8a08eb1ff10b823402c84660dd0c6b0 /examples | |
| parent | c949b7411487fdaf7618cf9b17e8e10dff74759f (diff) | |
| download | raylib-bfa66f446a100eef4e04ffdfe2877feefe503754.tar.gz raylib-bfa66f446a100eef4e04ffdfe2877feefe503754.zip | |
Review raylib path on rpi
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 6 |
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) |
