Selaa lähdekoodia

Replaced default release paths

pull/703/head
Ray 6 vuotta sitten
vanhempi
commit
874c0910e3
1 muutettua tiedostoa jossa 8 lisäystä ja 9 poistoa
  1. +8
    -9
      src/Makefile

+ 8
- 9
src/Makefile Näytä tiedosto

@ -179,33 +179,32 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID)
endif
endif
# RAYLIB_RELEASE_PATH points to provided binaries or your immediate build of raylib.
# It is further modified below by PLATFORM below.
RAYLIB_RELEASE_PATH ?= $(RAYLIB_PATH)/release/libs
# RAYLIB_RELEASE_PATH points to library build path, right now
RAYLIB_RELEASE_PATH ?= $(RAYLIB_PATH)/src
# Define output directory for compiled library
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)\release\libs\win32\mingw32
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)\mingw\i686-w64-mingw32\lib
endif
ifeq ($(PLATFORM_OS),LINUX)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/release/libs/linux
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src
endif
ifeq ($(PLATFORM_OS),OSX)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/release/libs/osx
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src
endif
ifeq ($(PLATFORM_OS),BSD)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/release/libs/bsd
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src
endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/release/libs/rpi
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src
endif
ifeq ($(PLATFORM),PLATFORM_ANDROID)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/release/libs/android/$(ANDROID_ARCH_NAME)
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH)/src/android/$(ANDROID_ARCH_NAME)
endif
# Define raylib graphics api depending on selected platform

Ladataan…
Peruuta
Tallenna