Changeset 1113 for LMDZ4/branches/LMDZ4-dev/create_make_gcm
- Timestamp:
- Mar 3, 2009, 10:22:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/create_make_gcm
r1003 r1113 185 185 for stri in ` ( sed -n "/\#include/s/\#include//p" $trufile | sed 's/\"//g' ; egrep -i '^ *use ' $trufile | sed -e 's/,/ /' | awk ' { print $2 } ' ) ` 186 186 do 187 188 189 # Differents cas de dependance correspondant a des include ou des 190 # use module. 191 # soit dans le repertoire local soit dans un autre. 192 187 193 stri=`echo $stri | tr [A-Z] [a-z]` 188 194 if [ -f $stri ] ; then … … 194 200 str1='$(LIBO)/lib'$diri'.a('$stri'.o)' 195 201 else 196 for dirinc in dyn3d grid bibio 202 for dirinc in dyn3d grid bibio filtrez 197 203 do 198 204 if [ -f ../$dirinc/$stri ] ; then 199 205 echo $str1 \\ 200 206 str1='$(LIBF)/'`cd .. ; ls */$stri | head -1` 207 fi 208 if [ -f ../$dirinc/$stri.F90 ] ; then 209 echo $str1 \\ 210 str1='$(LIBO)/lib'$dirinc'.a('$stri'.o)' 201 211 fi 202 212 done
Note: See TracChangeset
for help on using the changeset viewer.