diff --git a/Makefile b/Makefile index b1f120ce..17163df4 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 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