diff options
| author | Ray <[email protected]> | 2022-01-11 15:39:08 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-01-11 15:39:08 +0100 |
| commit | a134b8bc6dd7e2d819609e3b1cd75a23db0ae124 (patch) | |
| tree | 2478726e55e69d5c702dd6dd03d5133c042283e8 | |
| parent | b61c9afd047f30d0ad5bd2fb70661fe8165486f4 (diff) | |
| download | raylib-a134b8bc6dd7e2d819609e3b1cd75a23db0ae124.tar.gz raylib-a134b8bc6dd7e2d819609e3b1cd75a23db0ae124.zip | |
Update Makefile
| -rw-r--r-- | examples/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/Makefile b/examples/Makefile index a3318aac..ac1284f2 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -26,17 +26,17 @@ # Define required environment variables #------------------------------------------------------------------------------------------------ # Define target platform: PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB -PLATFORM ?= PLATFORM_DESKTOP +PLATFORM ?= PLATFORM_DESKTOP # Define required raylib variables -PROJECT_NAME ?= raylib_examples -RAYLIB_VERSION ?= 4.0.0 -RAYLIB_PATH ?= .. +PROJECT_NAME ?= raylib_examples +RAYLIB_VERSION ?= 4.0.0 +RAYLIB_PATH ?= .. # Locations of raylib.h and libraylib.a/libraylib.so # NOTE: Those variables are only used for PLATFORM_OS: LINUX, BSD RAYLIB_INCLUDE_PATH ?= /usr/local/include -RAYLIB_LIBRARY_PATH ?= /usr/local/lib +RAYLIB_LIB_PATH ?= /usr/local/lib # Library type compilation: STATIC (.a) or SHARED (.so/.dll) RAYLIB_LIBTYPE ?= STATIC @@ -262,10 +262,10 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) endif endif ifeq ($(PLATFORM_OS),LINUX) - LDFLAGS += -L$(RAYLIB_LIBRARY_PATH) + LDFLAGS += -L$(RAYLIB_LIB_PATH) endif ifeq ($(PLATFORM_OS),BSD) - LDFLAGS += -Lsrc -L$(RAYLIB_LIBRARY_PATH) + LDFLAGS += -Lsrc -L$(RAYLIB_LIB_PATH) endif endif ifeq ($(PLATFORM),PLATFORM_WEB) |
