/[MITgcm]/MITgcm/tools/f90mkdepend
ViewVC logotype

Diff of /MITgcm/tools/f90mkdepend

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by jahn, Mon May 3 14:35:01 2010 UTC revision 1.7 by jahn, Wed Dec 11 21:53:02 2013 UTC
# Line 30  for filename in *.F90 *.F *.h; do Line 30  for filename in *.F90 *.F *.h; do
30        # ignore modules that don't have an appropriately named source file        # ignore modules that don't have an appropriately named source file
31        if [ -f $m.F90 ] || [ -f $m.F ]; then        if [ -f $m.F90 ] || [ -f $m.F ]; then
32          depline="$depline $m.o"          depline="$depline $m.o"
33          elif [ -f ${m%_mod}.F90 ] || [ -f ${m%_mod}.F ]; then
34            # source file name is module name without "_mod"
35            depline="$depline ${m%_mod}.o"
36          else
37            echo "WARNING: f90mkdepend: no source file found for module $m" 1>&2
38        fi        fi
39      done      done
40      echo $depline      echo $depline

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22