-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
50 lines (48 loc) · 1.16 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
.PHONY: verify clean
verify:
rm -f \
.CoqMakefile.d \
.lia.cache \
CoqMakefile \
CoqMakefile.conf \
_CoqProjectFull
cp _CoqProject _CoqProjectFull
find proofs -type f -name '*.v' >> _CoqProjectFull
coq_makefile -f _CoqProjectFull -o CoqMakefile || (rm -f \
.CoqMakefile.d \
.lia.cache \
CoqMakefile \
CoqMakefile.conf \
_CoqProjectFull; \
exit 1)
make -f CoqMakefile || (rm -f \
.CoqMakefile.d \
.lia.cache \
CoqMakefile \
CoqMakefile.conf \
_CoqProjectFull; \
exit 1)
rm -f \
.CoqMakefile.d \
.lia.cache \
CoqMakefile \
CoqMakefile.conf \
_CoqProjectFull
clean:
rm -f \
.CoqMakefile.d \
.lia.cache \
CoqMakefile \
CoqMakefile.conf \
_CoqProjectFull \
$(shell \
find . -type d \( \
-path ./.git \
\) -prune -o \( \
-name '*.aux' -o \
-name '*.glob' -o \
-name '*.vo' -o \
-name '*.vok' -o \
-name '*.vos' \
\) -print \
)