/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_regress/genmake2
ViewVC logotype

Diff of /MITgcm_contrib/heimbach/OpenAD/code_regress/genmake2

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

revision 1.10 by utke, Tue Jul 15 16:28:35 2008 UTC revision 1.12 by utke, Thu Aug 21 21:36:48 2008 UTC
# Line 2378  for d in $alldirs ; do Line 2378  for d in $alldirs ; do
2378          echo "" >> srclinks.tmp          echo "" >> srclinks.tmp
2379          echo "#  These files are linked from $d" >> srclinks.tmp          echo "#  These files are linked from $d" >> srclinks.tmp
2380          echo "$deplist :" >> srclinks.tmp          echo "$deplist :" >> srclinks.tmp
2381          printf "\t\$(LN) %s/\$@ \$@\n" $d >> srclinks.tmp  # We need to make sure that the link isn't already there.
2382    # This may happen when make thinks that a header file has to be "remade"
2383    # because a module it depends on has changed.  In this case we do nothing.
2384            printf "\tif [ ! -L \$@ ]; then \$(LN) %s/\$@ \$@; fi\n" $d >> srclinks.tmp
2385        fi        fi
2386      fi      fi
2387  done  done
# Line 2746  openad: ad_input_code.w2f.canon.xb.x2w.w Line 2749  openad: ad_input_code.w2f.canon.xb.x2w.w
2749    
2750  # change everybody else to use the new module files:  # change everybody else to use the new module files:
2751  %_cb2m.FF90 : %.F ${MODS}/cb2mUseModules.bash  %_cb2m.FF90 : %.F ${MODS}/cb2mUseModules.bash
2752          ${MODS}/cb2mUseModules.bash $<          ${MODS}/cb2mUseModules.bash $< ${MPI}
2753    
2754  # makefile debug rule  # makefile debug rule
2755  small_f: \$(CB2M_F90_PP_SRC_FILES)  small_f: \$(CB2M_F90_PP_SRC_FILES)

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22