summaryrefslogtreecommitdiff
path: root/tests/coq/hashmap/Makefile
diff options
context:
space:
mode:
authorSon Ho2022-11-14 14:05:53 +0100
committerSon HO2022-11-14 14:21:04 +0100
commit6cfd60a0d75a1fcc3734aa9729c79acbfb30e546 (patch)
tree77c2e38a59ae387f98bb0bf873b7a5c8413492b3 /tests/coq/hashmap/Makefile
parente5bd97f4ad08b277057a23094f2cc76abbeeaddb (diff)
Generate Coq code for `hashmap` and `hashmap_on_disk`
Diffstat (limited to '')
-rw-r--r--tests/coq/hashmap/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/coq/hashmap/Makefile b/tests/coq/hashmap/Makefile
new file mode 100644
index 00000000..ff1ccd39
--- /dev/null
+++ b/tests/coq/hashmap/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