summaryrefslogtreecommitdiff
path: root/tests/coq/demo
diff options
context:
space:
mode:
authorSon Ho2024-02-09 15:35:49 +0100
committerSon Ho2024-02-09 15:35:49 +0100
commit55114eb8c8cfeeca5d5d5da682cdfe201b1d8dfe (patch)
tree1e00d600c0f8313742884a0f1d72e0d5f4ac3f0f /tests/coq/demo
parent42fe6fb304b322b2bfabab243964375520f46973 (diff)
Add some missing files
Diffstat (limited to '')
-rw-r--r--tests/coq/demo/Makefile23
-rw-r--r--tests/coq/demo/_CoqProject7
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/coq/demo/Makefile b/tests/coq/demo/Makefile
new file mode 100644
index 00000000..1a5aee4a
--- /dev/null
+++ b/tests/coq/demo/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/demo/_CoqProject b/tests/coq/demo/_CoqProject
new file mode 100644
index 00000000..62554699
--- /dev/null
+++ b/tests/coq/demo/_CoqProject
@@ -0,0 +1,7 @@
+# This file was automatically generated - see ../Makefile
+-R . Lib
+-arg -w
+-arg all
+
+Demo.v
+Primitives.v