Changeset 2160 for LMDZ5/branches/testing/create_make_gcm
- Timestamp:
- Nov 28, 2014, 4:36:29 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2072,2075-2115,2117-2126,2128-2158
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/create_make_gcm
r2056 r2160 124 124 125 125 if [ -d $diri ] ; then 126 if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*. F90 $diri/*/*.F90`" != "" ] ; then126 if [ "`ls $diri/*.F $diri/*/*.F`" != "" ] || [ "`ls $diri/*.[fF]90 $diri/*/*.[fF]90`" != "" ] ; then 127 127 # cd $diri >/dev/null 2>&1 128 128 echo 129 129 listlib="" 130 130 # Liste des fichiers .F et .F90 n'etant pas des programmes principaux 131 for fili in `ls $diri/*. F $diri/*/*.F` ; do131 for fili in `ls $diri/*.[fF] $diri/*/*.[fF]` ; do 132 132 test=` ( head $fili | grep ' PROGRAM' ) ` 133 133 if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi 134 134 done 135 for fili in `ls $diri/*. F90 $diri/*/*.F90` ; do135 for fili in `ls $diri/*.[fF]90 $diri/*/*.[fF]90` ; do 136 136 test=` ( head $fili | grep 'PROGRAM' ) ` 137 137 if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi … … 190 190 elif [ -f $dirinc/$strj ] ; then 191 191 str2='$(LIBF)/'$dirstr/$stri 192 elif [ -f $dirinc/$strj. F90 ] || [ -f $dirinc/$strj.F] ; then192 elif [ -f $dirinc/$strj.[fF]90 ] || [ -f $dirinc/$strj.[fF] ] ; then 193 193 strlib=`echo $libstr | awk -F/ ' { print $1 } '` 194 194 str2='$(LIBO)/lib'$strlib'.a('$strj'.o)' 195 elif [ -f $dirinc/$stri. F90 ] || [ -f $dirinc/$stri.F] ; then195 elif [ -f $dirinc/$stri.[fF]90 ] || [ -f $dirinc/$stri.[fF] ] ; then 196 196 strlib=`echo $libstr | awk -F/ ' { print $1 } '` 197 197 str2='$(LIBO)/lib'$strlib'.a('$stri'.o)'
Note: See TracChangeset
for help on using the changeset viewer.