Browse Source

Review raylib path on rpi

pull/329/head
raysan5 7 years ago
parent
commit
bfa66f446a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      examples/Makefile

+ 5
- 1
examples/Makefile View File

@ -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)

Loading…
Cancel
Save