makeifs 320 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. set -ue
  3. # default values for building
  4. j=1
  5. while getopts "hj:" opt; do
  6. case $opt in
  7. ( j ) j=$OPTARG ;;
  8. ( \? | h )
  9. echo "Usage: $(basename $0) [-h] [-j tasks]"
  10. exit -1
  11. ;;
  12. esac
  13. done
  14. make BUILD_ARCH=ecconf -j $j lib
  15. make BUILD_ARCH=ecconf master
  16. exit 0