aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-11-12 15:26:25 +0000
committerVaxry <[email protected]>2024-11-12 15:26:25 +0000
commitbb160cfe377da2d2b2e4431a3399fa60114f3911 (patch)
treead0ed9cf63d92b2b394d685994878bc0112e3272 /Makefile
parenta29cfa78431a054a093f3c843228bac6783a6d33 (diff)
downloadHyprland-bb160cfe377da2d2b2e4431a3399fa60114f3911.tar.gz
Hyprland-bb160cfe377da2d2b2e4431a3399fa60114f3911.zip
makefile: add stub to discourage direct make
Diffstat (limited to 'Makefile')
-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`