mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
makeall: Like BuildIt, respect MAKEJOBS
This commit is contained in:
parent
f9515d56e7
commit
c6bc23a748
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
sudo id
|
||||
|
||||
make_cmd="make -j3"
|
||||
if [ -z "$MAKEJOBS" ]; then
|
||||
MAKEJOBS=$(nproc)
|
||||
fi
|
||||
|
||||
make_cmd="make -j $MAKEJOBS"
|
||||
|
||||
$make_cmd -C ../LibC clean && \
|
||||
$make_cmd -C ../LibC && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue