#! /bin/sh
make -j1 V=s >> compile.log 2>&1

#! /bin/sh
if [[ -z "$1"  ]]
then
  THREADS=1
else
  THREADS=$1
fi

make -j${THREADS} V=s >> compile.log 2>&1    

Make parameter for number the number of threads to use with `make`
Make parameter for number the number of threads to use with `make`
