Changeset 1391 for trunk/LMDZ.COMMON/create_make_gcm
- Timestamp:
- Mar 6, 2015, 3:12:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/create_make_gcm
r1302 r1391 136 136 137 137 if [ -d $diri ] ; then 138 if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*. F90 $diri/*/*.F90`" != "" ] ; then138 if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*.[fF]90 $diri/*/*.[fF]90`" != "" ] ; then 139 139 # cd $diri >/dev/null 2>&1 140 140 echo 141 141 listlib="" 142 142 # Liste des fichiers .F et .F90 n'etant pas des programmes principaux 143 for fili in `ls $diri/*. F $diri/*/*.F` ; do143 for fili in `ls $diri/*.[fF] $diri/*/*.[fF]` ; do 144 144 # Check if file is a routine or main program 145 145 # i.e: look for the "program" keword preceeded by leading spaces … … 150 150 fi 151 151 done 152 for fili in `ls $diri/*. F90 $diri/*/*.F90` ; do152 for fili in `ls $diri/*.[fF]90 $diri/*/*.[fF]90` ; do 153 153 # Check if file is a routine or main program 154 154 # i.e. look for "program" keyword (with possibly some leading spaces) … … 214 214 elif [ -f $dirinc/$strj ] ; then 215 215 str2='$(LIBF)/'$dirstr/$stri 216 elif [ -f $dirinc/$strj. F90 ] || [ -f $dirinc/$strj.F] ; then216 elif [ -f $dirinc/$strj.[fF]90 ] || [ -f $dirinc/$strj.[fF] ] ; then 217 217 strlib=`echo $libstr | awk -F/ ' { print $1 } '` 218 218 str2='$(LIBO)/lib'$strlib'.a('$strj'.o)' 219 elif [ -f $dirinc/$stri. F90 ] || [ -f $dirinc/$stri.F] ; then219 elif [ -f $dirinc/$stri.[fF]90 ] || [ -f $dirinc/$stri.[fF] ] ; then 220 220 strlib=`echo $libstr | awk -F/ ' { print $1 } '` 221 221 str2='$(LIBO)/lib'$strlib'.a('$stri'.o)'
Note: See TracChangeset
for help on using the changeset viewer.