forked from shentufoundation/deepsea
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
34 lines (24 loc) · 766 Bytes
/
Makefile
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
VFILES:=$(shell grep "^[^#].*.v" _CoqProject)
core: core.make
make -f core.make
clean: core.make
make -f core.make clean
rm -r _build
core.make: _CoqProject
coq_makefile -f _CoqProject -o core.make
edsger: parser
cd Edsger && dune build edsger.bc
edsger.exe: parser
cd Edsger && dune build edsger.exe
parser: Edsger/config.h Edsger/parser.mly Edsger/make_parser.sh
cd Edsger && ./make_parser.sh
minicc:
cd minic && dune build minicc.bc
minicc.exe:
cd minic && dune build minicc.exe
.PHONY: clean core edsger edsger.exe parser
coqdoc: core
mkdir -p docs/coqdoc
rm -f docs/coqdoc/*.html
coqdoc -R . DeepSpec $(VFILES) --toc -d docs/coqdoc --toc-depth 2 --html --interpolate --no-lib-name
cp docs/coqdoc/custom-coqdoc.css docs/coqdoc/coqdoc.css