summaryrefslogtreecommitdiff
path: root/tests/coq/betree/Makefile
diff options
context:
space:
mode:
authorSon Ho2022-11-14 14:14:38 +0100
committerSon HO2022-11-14 14:21:04 +0100
commit6f714017d71a512042b22d7d0e987f75b47a088f (patch)
treeed608a74538ff5a34a32a2aee9094e9f41979121 /tests/coq/betree/Makefile
parent6cfd60a0d75a1fcc3734aa9729c79acbfb30e546 (diff)
Extract the Polonius examples in Coq
Diffstat (limited to '')
-rw-r--r--tests/coq/betree/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/coq/betree/Makefile b/tests/coq/betree/Makefile
new file mode 100644
index 00000000..ff1ccd39
--- /dev/null
+++ b/tests/coq/betree/Makefile
@@ -0,0 +1,22 @@
+# Makefile originally taken from coq-club
+
+%: Makefile.coq phony
+ +make -f Makefile.coq $@
+
+all: Makefile.coq
+ +make -f Makefile.coq all
+
+clean: Makefile.coq
+ +make -f Makefile.coq clean
+ rm -f Makefile.coq
+
+Makefile.coq: _CoqProject Makefile
+ coq_makefile -f _CoqProject | sed 's/$$(COQCHK) $$(COQCHKFLAGS) $$(COQLIBS)/$$(COQCHK) $$(COQCHKFLAGS) $$(subst -Q,-R,$$(COQLIBS))/' > Makefile.coq
+
+_CoqProject: ;
+
+Makefile: ;
+
+phony: ;
+
+.PHONY: all clean phony