Fix build results path on Linux and RPi (#2218)
Built files should be put into src/ not into the project root as it was now on these platforms
This commit is contained in:
parent
51c929ef21
commit
87fa23beee
10
src/Makefile
10
src/Makefile
@ -144,16 +144,6 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
endif
|
||||
endif
|
||||
|
||||
# RAYLIB_SRC_PATH adjustment for different platforms.
|
||||
# If using GNU make, we can get the full path to the top of the tree. Windows? BSD?
|
||||
# Required for ldconfig or other tools that do not perform path expansion.
|
||||
ifeq ($(PLATFORM), $(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_RPI))
|
||||
ifeq ($(PLATFORM_OS),LINUX)
|
||||
RAYLIB_PREFIX ?= ..
|
||||
RAYLIB_SRC_PATH = $(realpath $(RAYLIB_PREFIX))
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
# Emscripten required variables
|
||||
EMSDK_PATH ?= C:/emsdk
|
||||
|
Loading…
x
Reference in New Issue
Block a user