aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 62ae4036..db08a36f 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -31,6 +31,9 @@ RAYLIB_PATH ?= ..
# Define default options
+# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
+PLATFORM ?= PLATFORM_DESKTOP
+
# Default path for raylib on Raspberry Pi, if installed in different path, update it!
ifeq ($(PLATFORM),PLATFORM_RPI)
RAYLIB_PATH ?= /home/pi/raylib
@@ -59,9 +62,6 @@ RAYLIB_H_INSTALL_PATH ?= /usr/local/include/raysan5
# To see the result, run readelf -d core/core_basic_window, looking at the RPATH attribute.
RAYLIB_RUNTIME_PATH ?= $(RAYLIB_INSTALL_PATH)
-# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
-PLATFORM ?= PLATFORM_DESKTOP
-
# Library type used for raylib: STATIC (.a) or SHARED (.so/.dll)
RAYLIB_LIBTYPE ?= STATIC