/[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.197 by utke, Tue Sep 22 04:36:30 2009 UTC revision 1.201 by utke, Thu Dec 10 07:01:14 2009 UTC
# Line 1405  fi Line 1405  fi
1405  #  Find the MITgcm ${THISVER}  #  Find the MITgcm ${THISVER}
1406  version_file="${ROOTDIR}/doc/tag-index"  version_file="${ROOTDIR}/doc/tag-index"
1407  if test -f $version_file ; then  if test -f $version_file ; then
1408      THISVER=`grep '^checkpoint' $version_file | head -1`      THISVER=`$AWK '/^checkpoint/{print $1; exit}' $version_file`
1409  #-  remove ./BUILD_INFO.h file if older than version_file  #-  remove ./BUILD_INFO.h file if older than version_file
1410      if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then      if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then
1411          echo "  remove ./BUILD_INFO.h (older than ${version_file})"          echo "  remove ./BUILD_INFO.h (older than ${version_file})"
# Line 2783  ad_input_code.$FS: \$(AD_FILES) \$(H_SRC Line 2783  ad_input_code.$FS: \$(AD_FILES) \$(H_SRC
2783          -rm -f ad_config.template          -rm -f ad_config.template
2784          @make \$(F77_PP_SRC_FILES)          @make \$(F77_PP_SRC_FILES)
2785          @make \$(FLOFILES)          @make \$(FLOFILES)
2786          cat \$(FLOFILES) \$(AD_FILES) > ad_input_code.$FS          cat \$(FLOFILES) \$(AD_FILES) | sed -f \$(TOOLSDIR)/remove_comments_sed > ad_input_code.$FS
2787    
2788  ad_taf_output.$FS: ad_input_code.$FS  ad_taf_output.$FS: ad_input_code.$FS
2789          \$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.$FS          \$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.$FS
# Line 3041  ad_input_code_sf.w2f.f$FS90: ad_input_co Line 3041  ad_input_code_sf.w2f.f$FS90: ad_input_co
3041    
3042  # canonicalizer  # canonicalizer
3043  ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py  ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py
3044          ./preProcess.py --timing -H -S \$< -o \$@          ./preProcess.py --timing --r8 -H -S \$< -o \$@
3045    
3046  # F -> WHIRL  # F -> WHIRL
3047  # note that the canonicalized version cuts off at col 72  # note that the canonicalized version cuts off at col 72
# Line 3081  postProcess.tag: ad_input_code_sf.w2f.pr Line 3081  postProcess.tag: ad_input_code_sf.w2f.pr
3081          # this step also creates the file postProcess.make but we cannot          # this step also creates the file postProcess.make but we cannot
3082          # name it as the target or else make will try to remake it for          # name it as the target or else make will try to remake it for
3083          # the include directive above for any rule, e.g. make clean          # the include directive above for any rule, e.g. make clean
3084          ./postProcess.py --progress --timing -m r -i ../OAD_support/ad_inline.f --width 4 \$<          ./postProcess.py --progress --timing --outputFormat=fixed -m r -i ../OAD_support/ad_inline.f --width 4 \$<
3085    
3086  # setup some links  # setup some links
3087  %.xsd:  %.xsd:

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.201

  ViewVC Help
Powered by ViewVC 1.1.22