aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-11-12 15:26:25 +0000
committerVaxry <[email protected]>2024-11-18 14:26:44 +0000
commit9728a39b2ebbc1c1178b89b33bbca9b7d14d6092 (patch)
tree277856467908cbd93ca98b8f0c93f61c8a7f8e23
parent7120dde3d17b9e55518df5d1cd2951db02cda8cd (diff)
downloadHyprland-9728a39b2ebbc1c1178b89b33bbca9b7d14d6092.tar.gz
Hyprland-9728a39b2ebbc1c1178b89b33bbca9b7d14d6092.zip
makefile: add stub to discourage direct make
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cf21119..6c79b8db 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
PREFIX = /usr/local
+stub:
+ @echo "Do not run $(MAKE) directly without any arguments. Please refer to the wiki on how to compile Hyprland."
+
legacyrenderer:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DLEGACY_RENDERER:BOOL=true -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`