1 2 3 4 5 6 7 8 9 10
#! /bin/sh cd $1 PROG=$2 shift 2 rm -f *.lib *.a $PROG $* RET=$? cd .. exit $RET