瀏覽代碼

Additional path check

pull/333/head
raysan5 7 年之前
父節點
當前提交
92729662f4
共有 1 個檔案被更改,包括 13 行新增3 行删除
  1. +13
    -3
      examples/Makefile

+ 13
- 3
examples/Makefile 查看文件

@ -30,11 +30,21 @@
# WARNING: To compile to HTML5, code must be redesigned to use emscripten.h and emscripten_set_main_loop()
PLATFORM ?= PLATFORM_DESKTOP
# define raylib directory for include and library
RAYLIB_PATH ?= C:\raylib\raylib
# define default raylib path for include and library search
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
RAYLIB_PATH ?= C:\raylib\raylib
endif
ifeq ($(PLATFORM_OS),LINUX)
RAYLIB_PATH ?= ..
endif
ifeq ($(PLATFORM_OS),OSX)
RAYLIB_PATH ?= ..
endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
RAYLIB_PATH = /home/pi/raylib
RAYLIB_PATH ?= /home/pi/raylib
endif
# define NO to use OpenAL Soft as static library (shared by default)

Loading…
取消
儲存