aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-11-04 16:26:23 +0000
committerYann Herklotz <git@yannherklotz.com>2019-11-04 16:26:23 +0000
commit04c3cd732ba75f22580b8cae4f8e6a64151d1a1a (patch)
tree1a9665e8984038a34b6bea9413f6d734b360d6f3
parent0047efca720eadc6d5a91b99318be985380b5fd6 (diff)
downloadvericert-kvx-04c3cd732ba75f22580b8cae4f8e6a64151d1a1a.tar.gz
vericert-kvx-04c3cd732ba75f22580b8cae4f8e6a64151d1a1a.zip
Add Makefile and _CoqProject
-rw-r--r--Makefile22
-rw-r--r--_CoqProject1
2 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..33841ab
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+IGNORE:=
+
+LIBVS:=$(wildcard CoqUp/Lib/*.v)
+LIBVS:=$(filter-out $(IGNORE:%=%.v),$(LIBVS))
+
+VS:=$(wildcard CoqUp/*.v)
+VS:=$(filter-out $(LIBVS) $(IGNORE:%=%.v),$(VS))
+
+.PHONY: coq clean
+
+ARGS := -R Kami Kami
+
+coq: Makefile.coq.all
+ $(MAKE) -f Makefile.coq.all
+
+Makefile.coq.all: Makefile $(LIBVS) $(VS)
+ $(COQBIN)coq_makefile $(ARGS) $(LIBVS) $(VS) -o Makefile.coq.all
+
+clean:: Makefile.coq.all
+ $(MAKE) -f Makefile.coq.all clean
+ rm -f */*.v.d */*.glob */*.vo */*~ *~
+ rm -f Makefile.coq.all
diff --git a/_CoqProject b/_CoqProject
new file mode 100644
index 0000000..b08c163
--- /dev/null
+++ b/_CoqProject
@@ -0,0 +1 @@
+-R CoqUp CoqUp