#!/bin/csh -f set TOUCH = ORIG if ( ! -e configure.trk ) then touch configure.trk set TOUCH = TOUCH endif set nonomatch (make -i clean ) if ( "$1" == '-a' ) then ( make -i cleanall >& /dev/null ) if ( -e configure.trk ) then /bin/cp configure.trk configure.trk.backup /bin/rm -f configure.trk endif # The nuclear option find . -name \*.exe -exec \rm {} \; find . -name \*.o -exec \rm {} \; find . -name \*.a -exec \rm {} \; find . -name \*.mod -exec \rm {} \; endif if ( ( $TOUCH == TOUCH ) && ( -e configure.trk ) ) then /bin/rm -f configure.trk endif