/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

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

revision 1.169 by jmc, Fri Feb 15 19:33:34 2008 UTC revision 1.170 by jahn, Thu May 8 19:48:37 2008 UTC
# Line 2361  for d in $alldirs ; do Line 2361  for d in $alldirs ; do
2361          echo "" >> srclinks.tmp          echo "" >> srclinks.tmp
2362          echo "#  These files are linked from $d" >> srclinks.tmp          echo "#  These files are linked from $d" >> srclinks.tmp
2363          echo "$deplist :" >> srclinks.tmp          echo "$deplist :" >> srclinks.tmp
2364          printf "\t\$(LN) %s/\$@ \$@\n" $d >> srclinks.tmp  # We need to make sure that the link isn't already there.
2365    # This may happen when make thinks that a header file has to be "remade"
2366    # because a module it depends on has changed.  In this case we do nothing.
2367            printf "\tif [ ! -L \$@ ]; then \$(LN) %s/\$@ \$@; fi\n" $d >> srclinks.tmp
2368      fi      fi
2369  done  done
2370  rm -rf .links.tmp  rm -rf .links.tmp

Legend:
Removed from v.1.169  
changed lines
  Added in v.1.170

  ViewVC Help
Powered by ViewVC 1.1.22