-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathGNUmakefile
52 lines (46 loc) · 1.31 KB
/
GNUmakefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.PHONY: all
all: bin
.PHONY: bin
bin:
@dune build
.PHONY: install
install:
@dune install
.PHONY: doc
doc:
dune build @doc
mkdocs build
# FIXME logipp-latex definitve?
.PHONY: pp
install_pp:
utils/install-pp.sh
.PHONY: clean
clean:
@dune clean
@$(RM) -f *.lpdb
@$(RM) -f .*.lpdb
.PHONY: distclean
distclean: clean
@find . -name "\#*" -exec rm {} \;
@find . -name "*~" -exec rm {} \;
@find . -name "*.dko" -exec rm {} \;
@find . -name "*.stt" -exec rm {} \;
@find . -name "*.aux" -exec rm {} \;
@find . -name "*.log" -exec rm {} \;
@find . -name "*.pdf" -exec rm {} \;
@find . -name "*.tex" -exec rm {} \;
@find . -name "*.pvs" -exec rm {} \;
@find . -name "*.prf" -exec rm {} \;
@find . -name "*.bin" -exec rm {} \;
@find . -name "*.dep" -exec rm {} \;
@find . -name "*.ma" -exec rm {} \;
@find . -name "*.v" -exec rm {} \;
@find . -name "*.vo" -exec rm {} \;
@find . -name "*.glob" -exec rm {} \;
@find . -name "*.lean" -exec rm {} \;
@find . -name "*.art" -exec rm {} \;
@find . -name "*.thy" -exec rm {} \;
@find . -name "*.summary" -exec rm {} \;
@find . -name "*.beautified" -exec rm {} \;
@find . -name ".pvscontext" -exec rm {} \;
@-$(RM) -r /tmp/fermat