aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 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