summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon Ho2023-10-27 15:16:44 +0200
committerSon Ho2023-10-27 15:16:44 +0200
commitc200d43abf96c6f3126d1de40e7e4c547e4e7371 (patch)
tree4b7fc2adefa0dbc671db19ea73796fc00b3ee6c7
parentb50498d74f8e0b4a5f53468200510edec9d9674a (diff)
Add some files for the Coq trait tests
Diffstat (limited to '')
-rw-r--r--tests/coq/traits/Makefile23
-rw-r--r--tests/coq/traits/_CoqProject5
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/coq/traits/Makefile b/tests/coq/traits/Makefile
new file mode 100644
index 00000000..1a5aee4a
--- /dev/null
+++ b/tests/coq/traits/Makefile
@@ -0,0 +1,23 @@
+# This file was automatically generated - modify ../Makefile.template instead
+# 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
diff --git a/tests/coq/traits/_CoqProject b/tests/coq/traits/_CoqProject
new file mode 100644
index 00000000..d573657e
--- /dev/null
+++ b/tests/coq/traits/_CoqProject
@@ -0,0 +1,5 @@
+# This file was automatically generated - see ../Makefile
+-R . Lib
+-arg -w
+-arg all
+