summaryrefslogtreecommitdiff
path: root/Kernel/makeall.sh
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-12 16:33:24 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-12 16:34:19 +0100
commit961783e0dfcf086bd33bd5172bc349da4b61bfb6 (patch)
treed8c1cca5dcb2f2b38a05fa88e8cdd62dbc90aa08 /Kernel/makeall.sh
parent5500a13491ffb0b8a7e2950534775ec9bbd750dc (diff)
downloadserenity-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-xKernel/makeall.sh42
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