1
Fork 0
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:
Robin Burchell 2019-05-15 20:26:31 +02:00 committed by Andreas Kling
parent f9515d56e7
commit c6bc23a748

View file

@ -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 && \