summaryrefslogtreecommitdiff
path: root/t/ext.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/ext.sh')
-rw-r--r--t/ext.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/ext.sh b/t/ext.sh
index e64dee3f9..587093337 100644
--- a/t/ext.sh
+++ b/t/ext.sh
@@ -34,10 +34,11 @@ END
$ACLOCAL
$AUTOMAKE
+$FGREP '%.$(OBJEXT)' Makefile.in # For debugging.
+
for ext in f for f90 f95 F F90 F95 r m mm upc; do
- grep "^\.$ext\.o:" Makefile.in
- grep "^$ext\.o:" Makefile.in && exit 1
- : For shells with busted 'set -e'.
+ grep "%.*: %$ext" Makefile.in && exit 1
+ grep "^%\.\$(OBJEXT): %\.$ext$" Makefile.in
done
: