aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-30 13:44:01 +0000
committerFuwn <[email protected]>2021-04-30 13:44:01 +0000
commit9a348ac492eddf5456ef6f31224c21e327b85c1e (patch)
treef4caf1f15cda1d5db8c2d1d5e5c069bd665746ed
parentrefactor(makefile): restructure `Makefile` for readability (diff)
downloadwhirl-9a348ac492eddf5456ef6f31224c21e327b85c1e.tar.xz
whirl-9a348ac492eddf5456ef6f31224c21e327b85c1e.zip
refactor(makefile): introduce easily configurable `Makefile` variables, document
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b41c27..fc37c0d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,14 @@
# -------------
FLAGS = -d -t # These are just generally useful for development.
+# BOTH of these variables will vary depending on your system's configuration, ideally, you should
+# know the correct values for your own system.
+#
+# If you DON'T know the correct values, DO NOT file an issue on GitHub, ask someone within the
+# Whirlsplash Discord server, https://discord.com/invite/8hn6padWF6.
+WORLDS_PATH = "C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\WorldsPlayer.exe"
+WORLDS_RUN = gsudo $(WORLDS_PATH)
+
# ------------
# | Wrappers |
# ------------
@@ -23,6 +31,6 @@ run: check
# Subject to change depending on different PCs, this is just mine. ~Fuwn
start_client:
- gsudo "C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\WorldsPlayer.exe"
+ $(WORLDS_RUN)
runc: start_client run