diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 16:33:24 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 16:34:19 +0100 |
commit | 961783e0dfcf086bd33bd5172bc349da4b61bfb6 (patch) | |
tree | d8c1cca5dcb2f2b38a05fa88e8cdd62dbc90aa08 /Kernel/makeall.sh | |
parent | 5500a13491ffb0b8a7e2950534775ec9bbd750dc (diff) | |
download | serenity-961783e0dfcf086bd33bd5172bc349da4b61bfb6.zip |
Let's have makeall.sh build with make -j2.
The full rebuild keeps getting slower, this makes it a bit more bearable.
Diffstat (limited to 'Kernel/makeall.sh')
-rwxr-xr-x | Kernel/makeall.sh | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh index e119d66d9f..911756622f 100755 --- a/Kernel/makeall.sh +++ b/Kernel/makeall.sh @@ -2,25 +2,27 @@ sudo id -make -C ../LibC clean && \ -make -C ../LibC && \ -make -C ../LibGUI clean && \ -make -C ../LibGUI && \ -make -C ../Userland clean && \ -make -C ../Userland && \ -make -C ../Applications/Terminal clean && \ -make -C ../Applications/Terminal && \ -make -C ../Applications/FontEditor clean && \ -make -C ../Applications/FontEditor && \ -make -C ../Applications/Clock clean && \ -make -C ../Applications/Clock && \ -make -C ../Applications/Launcher clean && \ -make -C ../Applications/Launcher && \ -make -C ../Applications/FileManager clean && \ -make -C ../Applications/FileManager && \ -make -C ../Applications/About clean && \ -make -C ../Applications/About && \ -make clean &&\ -make && \ +make_cmd="make -j2" + +$make_cmd -C ../LibC clean && \ +$make_cmd -C ../LibC && \ +$make_cmd -C ../LibGUI clean && \ +$make_cmd -C ../LibGUI && \ +$make_cmd -C ../Userland clean && \ +$make_cmd -C ../Userland && \ +$make_cmd -C ../Applications/Terminal clean && \ +$make_cmd -C ../Applications/Terminal && \ +$make_cmd -C ../Applications/FontEditor clean && \ +$make_cmd -C ../Applications/FontEditor && \ +$make_cmd -C ../Applications/Clock clean && \ +$make_cmd -C ../Applications/Clock && \ +$make_cmd -C ../Applications/Launcher clean && \ +$make_cmd -C ../Applications/Launcher && \ +$make_cmd -C ../Applications/FileManager clean && \ +$make_cmd -C ../Applications/FileManager && \ +$make_cmd -C ../Applications/About clean && \ +$make_cmd -C ../Applications/About && \ +$make_cmd clean &&\ +$make_cmd && \ sudo ./sync.sh |