#!/bin/sh if [ -f $1 ] then echo "$1 exists." exit fi make PROG=$1 -f makefile-1.mak echo done echo run... $1 echo $1 done rm $1.o $1