1 |
#!/bin/sh |
#! /usr/bin/env bash |
2 |
# |
# |
3 |
# $Header$ |
# $Header$ |
4 |
# |
# |
586 |
-optfile=* | --optfile=* | -of=* | --of=*) |
-optfile=* | --optfile=* | -of=* | --of=*) |
587 |
OPTFILE=$ac_optarg ;; |
OPTFILE=$ac_optarg ;; |
588 |
|
|
589 |
-adoptfile | --adoptfile | -ad | --ad) |
-adoptfile | --adoptfile | -adof | --adof) |
590 |
ac_prev=AD_OPTFILE ;; |
ac_prev=AD_OPTFILE ;; |
591 |
-adoptfile=* | --adoptfile=* | -adof=* | --adof=*) |
-adoptfile=* | --adoptfile=* | -adof=* | --adof=*) |
592 |
AD_OPTFILE=$ac_optarg ;; |
AD_OPTFILE=$ac_optarg ;; |
1447 |
.SUFFIXES: .o .f .p .F .c .F90 .f90 |
.SUFFIXES: .o .f .p .F .c .F90 .f90 |
1448 |
|
|
1449 |
all: \$(EXECUTABLE) |
all: \$(EXECUTABLE) |
1450 |
\$(EXECUTABLE): links \$(OBJFILES) |
\$(EXECUTABLE): ${PACKAGES_DOT_H} AD_CONFIG.h \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) \$(OBJFILES) |
1451 |
@echo Creating \$@ ... |
@echo Creating \$@ ... |
1452 |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS) |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS) |
1453 |
depend: |
depend: |
1469 |
@make clean |
@make clean |
1470 |
@make cleanlinks |
@make cleanlinks |
1471 |
-rm -f ${PACKAGES_DOT_H} AD_CONFIG.h |
-rm -f ${PACKAGES_DOT_H} AD_CONFIG.h |
1472 |
-rm -f Makefile.bak genmake_state genmake_*optfile genmake_warnings make.log |
-rm -f genmake_state genmake_*optfile genmake_warnings make.log run.log *.bak |
1473 |
CLEAN: |
CLEAN: |
1474 |
@make Clean |
@make Clean |
1475 |
-find \$(EXEDIR) -name "*.meta" -exec rm {} \; |
-find \$(EXEDIR) -name "*.meta" -exec rm {} \; |
1549 |
adtaf: ad_taf_output.f |
adtaf: ad_taf_output.f |
1550 |
adtamc: ad_tamc_output.f |
adtamc: ad_tamc_output.f |
1551 |
|
|
1552 |
ad_input_code.f: links \$(AD_FILES) \$(HEADERFILES) |
ad_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
1553 |
@\$(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 |
@\$(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 |
1554 |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
1555 |
-rm -f ad_config.template |
-rm -f ad_config.template |
1581 |
ftltaf: ftl_taf_output.f |
ftltaf: ftl_taf_output.f |
1582 |
ftltamc: ftl_tamc_output.f |
ftltamc: ftl_tamc_output.f |
1583 |
|
|
1584 |
ftl_input_code.f: links \$(AD_FILES) \$(HEADERFILES) |
ftl_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
1585 |
@\$(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 |
@\$(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 |
1586 |
cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h |
cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h |
1587 |
-rm -f ftl_config.template |
-rm -f ftl_config.template |