Files
concrete/script/make_utils/serialize_targets.sh
Arthur Meyre 3541e4ff4e fix(tools): various Makefile improvements
- sync output recursively for make calls
- add a script to get the number of cpus on mac and linux
- Makefile formatting
- update serialize_targets.sh to invoke the proper make binary
- Add instructions to install make
2021-08-26 14:32:18 +02:00

19 lines
241 B
Bash
Executable File

#!/bin/bash
set +e
EXIT_CODE=0
# Get the make executable
MAKE="$1"
shift
for make_target in "$@"; do
"${MAKE}" --no-print-directory "${make_target}"
if [[ "$?" != "0" ]]; then
EXIT_CODE=1
fi
done
exit "${EXIT_CODE}"