Changeset 2085


Ignore:
Timestamp:
Jul 9, 2014, 10:00:57 PM (10 years ago)
Author:
fhourdin
Message:

Prise en compte des .f90 et .f en plus des .F90 et .F dans makelmdz
Utilise en particulier pour le couplage avec la physique de MAR
Taking into account .f90 and .f files in addition to .F90 and .F in makelmdz
Used for coupling with MAR physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/create_make_gcm

    r2018 r2085  
    124124
    125125   if [ -d $diri ] ; then
    126    if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*.F90 $diri/*/*.F90`" != "" ]  ; then
     126   if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*.[fF]90 $diri/*/*.[fF]90`" != "" ]  ; then
    127127#      cd $diri >/dev/null 2>&1
    128128      echo
    129129      listlib=""
    130130# Liste des fichiers .F et .F90 n'etant pas des programmes principaux
    131       for fili in `ls $diri/*.F $diri/*/*.F` ; do
     131      for fili in `ls $diri/*.[fF] $diri/*/*.[fF]` ; do
    132132         test=` (  head $fili | grep '      PROGRAM' ) `
    133133         if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi
    134134      done
    135       for fili in `ls $diri/*.F90 $diri/*/*.F90` ; do
     135      for fili in `ls $diri/*.[fF]90 $diri/*/*.[fF]90` ; do
    136136         test=` (  head $fili | grep 'PROGRAM' ) `
    137137         if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi
     
    190190               elif [ -f $dirinc/$strj ] ; then
    191191                  str2='$(LIBF)/'$dirstr/$stri
    192                elif [ -f $dirinc/$strj.F90 ]  || [ -f $dirinc/$strj.F ]  ; then
     192               elif [ -f $dirinc/$strj.[fF]90 ]  || [ -f $dirinc/$strj.[fF] ]  ; then
    193193                  strlib=`echo $libstr | awk -F/ ' { print $1 } '`
    194194                  str2='$(LIBO)/lib'$strlib'.a('$strj'.o)'
    195                elif [ -f $dirinc/$stri.F90 ]  || [ -f $dirinc/$stri.F ]  ; then
     195               elif [ -f $dirinc/$stri.[fF]90 ]  || [ -f $dirinc/$stri.[fF] ]  ; then
    196196                  strlib=`echo $libstr | awk -F/ ' { print $1 } '`
    197197                  str2='$(LIBO)/lib'$strlib'.a('$stri'.o)'
Note: See TracChangeset for help on using the changeset viewer.