aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames R. Wilcox2018-11-24 13:22:50 -0800
committerJames R. Wilcox2018-11-24 13:22:50 -0800
commit09b917593e90233d7a55610e9ce7886de77ef576 (patch)
treecf1978d1778ef454d94bc8cf1c75f3954d3058e1 /tests
parentb8c4bf77c19670099b1fea44f3ab6204faa25d6b (diff)
tests/Makefile: support unset COQBIN, like top-level Makefile does
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 9370b063f8..37915e0d6f 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,3 +1,7 @@
+ifeq "$(COQBIN)" ""
+ COQBIN=$(dir $(shell which coqtop))/
+endif
+
all: $(patsubst %.v,%.v.log,$(wildcard *.v))
%.v.log: %.v