diff options
| author | Fuwn <[email protected]> | 2021-04-30 13:44:01 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-04-30 13:44:01 +0000 |
| commit | 9a348ac492eddf5456ef6f31224c21e327b85c1e (patch) | |
| tree | f4caf1f15cda1d5db8c2d1d5e5c069bd665746ed | |
| parent | refactor(makefile): restructure `Makefile` for readability (diff) | |
| download | whirl-9a348ac492eddf5456ef6f31224c21e327b85c1e.tar.xz whirl-9a348ac492eddf5456ef6f31224c21e327b85c1e.zip | |
refactor(makefile): introduce easily configurable `Makefile` variables, document
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |