-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
86 lines (59 loc) · 1.25 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
COQC = coqc
COQDOC = coqdoc
DOCFLAGS = -g -d doc/ --html --utf8
#NB: qtemp takes a while to compile, avoid making changes in preceding files
VFILES = tactics.v\
axioms.v\
functions.v\
ordinals.v\
lci.v\
aac.v\
ring.v\
cardinal.v\
ordinal_arith.v\
nnum_base.v\
quotient.v\
utils1.v
# ztemp.v\
# qtemp.v\
# qfrac.v\
# raxioms.v\
# zorn.v\
# dedekind.v\
VOFILES = $(VFILES:.v=.vo)
GLOBFILES = $(VFILES:.v=.glob)
DOCFILES = $(patsubst %.v,doc/%.html,$(VFILES))
all: $(VOFILES) document
compile: $(VOFILES)
tactics.vo: tactics.v
$(COQC) $<
axioms.vo: axioms.v tactics.vo
$(COQC) $<
functions.vo: functions.v axioms.vo
ordinals.vo: ordinals.v functions.vo
$(COQC) $<
lci.vo: lci.v ordinals.vo
$(COQC) $<
aac.vo: aac.v lci.vo
$(COQC) $<
ring.vo: ring.v lci.vo aac.vo
$(COQC) $<
cardinal.vo: cardinal.v ordinals.vo
$(COQC) $<
ordinal_arith.vo: ordinal_arith.v lci.vo cardinal.vo ring.vo
$(COQC) $<
nnum_base.vo: nnum_base.v ordinal_arith.vo
$(COQC) $<
quotient.vo: quotient.v nnum_base.vo
$(COQC) $<
utils1.vo: utils1.v nnum_base.vo
$(COQC) $<
%.vo %.glob: %.v
$(COQC) $<
document: doc/index.html
doc/index.html: $(VFILES) $(GLOBFILES)
$(COQDOC) $(DOCFLAGS) $(VFILES)
clean:
rm -f *.v.d *.crashcoqide
new: clean
rm *.glob *.vo doc/*.html