2188 |
|
|
2189 |
# ... SVD ... |
# ... SVD ... |
2190 |
svdtaf: ad_taf_output.f ftl_taf_output.f |
svdtaf: ad_taf_output.f ftl_taf_output.f |
2191 |
svdall: svd_taf |
@echo "--->>> Only ran TAF to generate SVD code! <<<---" |
2192 |
|
@echo "--->>> Do make svdall afterwards to compile. <<<---" |
2193 |
|
svdall: svd_touch svd_taf |
2194 |
|
|
2195 |
svd_taf: ad_taf_output.o ftl_taf_output.o \$(OBJFILES) |
svd_taf: \$(OBJFILES) |
2196 |
\$(LINK) -o mitgcmuv_svd \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_taf_output.o ftl_taf_output.o \$(LIBS) |
\$(LINK) -o mitgcmuv_svd \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_taf_output.o ftl_taf_output.o \$(LIBS) |
2197 |
|
|
2198 |
|
@echo "--->>> Only COMPILE svd code! <<<---" |
2199 |
|
@echo "--->>> Assumes you previously <<<---" |
2200 |
|
@echo "--->>> did make svdtaf <<<---" |
2201 |
|
|
2202 |
|
svd_touch: |
2203 |
|
@echo "--->>> Only COMPILE svd code! <<<---" |
2204 |
|
@echo "--->>> Assumes you previously <<<---" |
2205 |
|
@echo "--->>> did make svdtaf <<<---" |
2206 |
|
touch ad_taf_output.f ftl_taf_output.f |
2207 |
|
\$(FC) \$(FFLAGS) \$(FOPTIM) -c ad_taf_output.f |
2208 |
|
\$(FC) \$(FFLAGS) \$(FOPTIM) -c ftl_taf_output.f |
2209 |
|
@$BASH\$(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 |
2210 |
|
cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h |
2211 |
|
-rm -f ftl_config.template |
2212 |
|
|
2213 |
#========================================= |
#========================================= |
2214 |
|
|