--- MITgcm/tools/genmake2 2005/03/22 19:45:03 1.121 +++ MITgcm/tools/genmake2 2005/04/28 18:01:19 1.123 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.121 2005/03/22 19:45:03 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.123 2005/04/28 18:01:19 edhill Exp $ # # Makefile generator for MITgcm UV codes # created by cnh 03/98 @@ -321,7 +321,7 @@ #================================================================ # look for possible FORTRAN compilers - tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95" + tmp="$MITGCM_FC $FC efc g77 f77 pgf77 pgf95 ifc f90 f95 mpif77 mpf77 mpxlf95 gfortran" p_FC= for c in $tmp ; do rm -f ./hello.f ./hello @@ -1827,7 +1827,7 @@ done done if test ! "x"$FS = "x.f" ; then - cat ad_files | sed -e "s/\.f/$FS/g" > ad_files_f + cat ad_files | sed -e "s/\.f/.$FS/g" > ad_files_f mv -f ad_files_f ad_files fi