forked from rocq-prover/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 659 Bytes
/
Makefile
File metadata and controls
34 lines (24 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DUNE=dev/with-rocq-wrap.sh dune
.PHONY: clean all install dune dune-install test-suite
all install:
+$(MAKE) -j -C theories $@
dune:
$(DUNE) build -p rocq-stdlib @install
dune-install:
$(DUNE) install --root . rocq-stdlib
build-% install-%:
+$(MAKE) -C theories $@
# Make of individual .vo
theories/%.vo:
+$(MAKE) -C theories $*.vo
refman-html:
$(DUNE) build --root . --no-buffer @refman-html
stdlib-html:
$(DUNE) build --root . @stdlib-html
test-suite:
test -d _build/default/theories/
+COQEXTRAFLAGS="-Q ../_build/default/theories/ Stdlib" \
COQCHKEXTRAFLAGS="$$COQEXTRAFLAGS" \
$(MAKE) -C test-suite
clean:
+$(MAKE) -C theories clean