summaryrefslogtreecommitdiff
path: root/lib/am/lang-compile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/am/lang-compile.am')
-rw-r--r--lib/am/lang-compile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/am/lang-compile.am b/lib/am/lang-compile.am
index 01e843bca..20d80ce8b 100644
--- a/lib/am/lang-compile.am
+++ b/lib/am/lang-compile.am
@@ -22,18 +22,16 @@
## We also handle the case of preprocessing '.F' files into '.f' files.
if %?PPF77%
-.F.f:
+%.f: %.F
$(F77COMPILE) -F $<
endif %?PPF77%
-
-
## -------- ##
## Ratfor. ##
## -------- ##
-## We also handle the case of preprocessing `.r' files into `.f' files.
+## We also handle the case of preprocessing '.r' files into '.f' files.
if %?RATFOR%
-.r.f:
+%.f: %.r
$(RCOMPILE) -F $<
endif %?RATFOR%