nostalgia/scripts/run-make

15 lines
197 B
Plaintext
Raw Normal View History

2017-12-23 23:38:21 -06:00
#! /usr/bin/env bash
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
done