1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/sh if [ -z $1 ]; then ARG="all" else ARG=$1 fi cd src make clean if [ $ARG == "all" ]; then make || exit make install fi cd ../util make clean if [ $ARG == "all" ]; then make || exit fi cd ../test make clean if [ $ARG == "all" ]; then make fi