Simplify run-make script

This commit is contained in:
Gary Talent 2018-01-28 00:25:19 -06:00
parent e45db79a77
commit ce9bbb7558

View File

@ -2,13 +2,7 @@
set -e 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) for f in $(find $1 -maxdepth 1 -mindepth 1 -type d)
do do
$MAKE -s -j -C "$f" $2 cmake --build "$f" --target $2 -- -j
done done