diff options
author | vaxerski <[email protected]> | 2022-08-01 22:48:43 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-08-01 22:48:43 +0200 |
commit | 100d29d34dbc4fb4223d771cd1ec8c14cd64357c (patch) | |
tree | ed1ed26ebb3b694ba30beee670209eacdeeaff0e | |
parent | 00747fc6df0f14ade39e91e44c98b3e2c7829f7a (diff) | |
download | Hyprland-100d29d34dbc4fb4223d771cd1ec8c14cd64357c.tar.gz Hyprland-100d29d34dbc4fb4223d771cd1ec8c14cd64357c.zip |
use nproc in makefile
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 10 + cmake --build ./build --config Release --target all -j $(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 10 + cmake --build ./build --config Release --target all -j $(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 10 + cmake --build ./build --config Release --target all -j $(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 10 + cmake --build ./build --config Debug --target all -j $(nproc) clear: rm -rf build |