[CSC 435] Shell Scripts inside of Makefiles
Andrew J. Pounds
pounds_aj at mercer.edu
Wed Jan 20 10:16:52 EST 2010
If you want to include shell scripts inside of makefiles, you can do
something like this...
pristine :
rm *.o
rm *.a
touch *.cc *.c *.f
echo ${SHELL}
`if [ -e "cdriver" ] ; then rm cdriver; fi`
`if [ -e "fdriver" ] ; then rm fdriver; fi`
--
Andrew J. Pounds, Ph.D. (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
More information about the csc435
mailing list