summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorRDR8 <[email protected]>2018-02-12 09:19:24 +0000
committerGitHub <[email protected]>2018-02-12 09:19:24 +0000
commit97f8b854297bfdd6ab62e12d8f9e2e2cd7230b87 (patch)
tree0863333a8c78b2a97d56826f2dd711bd22593376 /examples/Makefile
parentf742f1289d9e00c8d09a5a6dc4c36efaa0e10d67 (diff)
downloadraylib-97f8b854297bfdd6ab62e12d8f9e2e2cd7230b87.tar.gz
raylib-97f8b854297bfdd6ab62e12d8f9e2e2cd7230b87.zip
Update Makefile
Diffstat (limited to 'examples/Makefile')
-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