--- MITgcm/tools/genmake2 2003/11/24 14:54:12 1.44 +++ MITgcm/tools/genmake2 2003/11/24 15:08:24 1.45 @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.44 2003/11/24 14:54:12 adcroft Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.45 2003/11/24 15:08:24 heimbach Exp $ # # Makefile generator for MITgcm UV codes # created by cnh 03/98 @@ -1584,7 +1584,7 @@ adtaf: ad_taf_output.f adtamc: ad_tamc_output.f -ad_input_code.f: \$(AD_FILES) \$(HEADERFILES) +ad_input_code.f: links \$(AD_FILES) \$(HEADERFILES) @\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -DALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ad_config.template cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h -rm -f ad_config.template @@ -1616,7 +1616,7 @@ ftltaf: ftl_taf_output.f ftltamc: ftl_tamc_output.f -ftl_input_code.f: \$(AD_FILES) \$(HEADERFILES) +ftl_input_code.f: links \$(AD_FILES) \$(HEADERFILES) @\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -UALLOW_ADJOINT_RUN -DALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ftl_config.template cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h -rm -f ftl_config.template