--- MITgcm/tools/genmake 1998/10/28 03:11:38 1.6 +++ MITgcm/tools/genmake 1998/12/08 18:08:51 1.8 @@ -1,6 +1,6 @@ #!/bin/csh -f # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/Attic/genmake,v 1.6 1998/10/28 03:11:38 cnh Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/Attic/genmake,v 1.8 1998/12/08 18:08:51 adcroft Exp $ # # Makefile generator for MITgcm UV codes # created by cnh 03/98 @@ -179,7 +179,7 @@ breaksw case Linux: set LN = ( '/bin/ln -fs' ) - set CPP = ( '/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/cpp -P' ) + set CPP = ( '/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/cpp -traditional -P' ) set INCLUDES = ( '-I/usr/local/include' ) set FC = ( 'g77' ) set FFLAGS = ( ' ' ) @@ -340,7 +340,8 @@ -rm -rf *.o *.f *.p ${RMFILES} Clean: @make clean - -rm -rf *.[Fc] + -find . -type l -exec rm {} \; + -rm Makefile.bak # The normal chain of rules is ( .F - .f - .o ) .F.f: