summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-10-06 15:50:03 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-10-06 16:12:49 +0200
commit9fd9b22112ba30fa2722c82cdacb96f863ff091e (patch)
tree6b379b87addd6b1a85dea01dac57566600592ee6 /gui
parent2f594ee09e6e508b4fa3b803cd373b51a58cdc88 (diff)
Makefile: Fix parallel make
now we can call "make -jX build" with X>1 and it will work \o/ Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'gui')
-rwxr-xr-xgui/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/build.sh b/gui/build.sh
index 5ef144b..282a206 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -18,6 +18,7 @@ PROJECT=bitmask.pro
TARGET_GOLIB=lib/libgoshim.a
SOURCE_GOLIB=gui/backend.go
+MAKE=${MAKE:=make}
QTBUILD=build/qt
RELEASE=$QTBUILD/release
DEBUGP=$QTBUILD/debug
@@ -119,8 +120,8 @@ function buildDefault {
fi
buildQmake
- make -C $QTBUILD clean
- make -C $QTBUILD $MAKEFLAGS all
+ $MAKE -C $QTBUILD clean
+ $MAKE -C $QTBUILD $MAKEFLAGS all
renameOutput
echo "[+] Done."