aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Dick <[email protected]>2022-10-10 17:13:56 +0200
committerFelix Dick <[email protected]>2022-10-10 17:13:56 +0200
commit6e7143e0f5967bf0012463e2ad1298abf78f0967 (patch)
tree5f2e9c0cd930611564642b76b1240478d49c5ccf /Makefile
parentf55f56f26049ec97dab2cdbaf6445e9166c72b7d (diff)
downloadHyprland-6e7143e0f5967bf0012463e2ad1298abf78f0967.tar.gz
Hyprland-6e7143e0f5967bf0012463e2ad1298abf78f0967.zip
Replace $(nproc) with $(shell nproc).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 825963da..6ce7ae0e 100644
--- a/Makefile
+++ b/Makefile
@@ -93,19 +93,19 @@ wlr-output-power-management-unstable-v1-protocol.o: wlr-output-power-management-
legacyrenderer:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DLEGACY_RENDERER:STRING=true -H./ -B./build -G Ninja
- cmake --build ./build --config Release --target all -j $(nproc)
+ cmake --build ./build --config Release --target all -j$(shell nproc)
legacyrendererdebug:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DLEGACY_RENDERER:STRING=true -H./ -B./build -G Ninja
- cmake --build ./build --config Release --target all -j $(nproc)
+ cmake --build ./build --config Release --target all -j$(shell nproc)
release:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja
- cmake --build ./build --config Release --target all -j $(nproc)
+ cmake --build ./build --config Release --target all -j$(shell nproc)
debug:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -H./ -B./build -G Ninja
- cmake --build ./build --config Debug --target all -j $(nproc)
+ cmake --build ./build --config Debug --target all -j$(shell nproc)
clear:
rm -rf build
@@ -137,7 +137,7 @@ install:
cp ./assets/wall_8K.png ${PREFIX}/share/hyprland
install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1
-
+
cleaninstall:
make clear
make fixwlr