mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 02:45:58 +01:00
makefile: add stub to discourage direct make
This commit is contained in:
parent
a29cfa7843
commit
bb160cfe37
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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`
|
||||
|
|
Loading…
Reference in a new issue