From ce9bbb75580dbd833b41245fd4b2cd876953cc09 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 28 Jan 2018 00:25:19 -0600 Subject: [PATCH] Simplify run-make script --- scripts/run-make | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/run-make b/scripts/run-make index a77a6e4f..8c59fa1c 100755 --- a/scripts/run-make +++ b/scripts/run-make @@ -2,13 +2,7 @@ set -e -if [$(which gmake) != 'gmake not found']; then - MAKE="gmake" -else - MAKE="make" -fi - for f in $(find $1 -maxdepth 1 -mindepth 1 -type d) do - $MAKE -s -j -C "$f" $2 + cmake --build "$f" --target $2 -- -j done