-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (49 loc) · 1.21 KB
/
Makefile
File metadata and controls
51 lines (49 loc) · 1.21 KB
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
.PHONY: verify clean
verify:
rm -f \
.RocqMakefile.d \
.lia.cache \
RocqMakefile \
RocqMakefile.conf \
_RocqProjectFull
cp _RocqProject _RocqProjectFull
find proofs_rocq -type f -name '*.v' >> _RocqProjectFull
rocq makefile -f _RocqProjectFull -o RocqMakefile || (rm -f \
.RocqMakefile.d \
.lia.cache \
RocqMakefile \
RocqMakefile.conf \
_RocqProjectFull; \
exit 1)
make -f RocqMakefile || (rm -f \
.RocqMakefile.d \
.lia.cache \
RocqMakefile \
RocqMakefile.conf \
_RocqProjectFull; \
exit 1)
rm -f \
.RocqMakefile.d \
.lia.cache \
RocqMakefile \
RocqMakefile.conf \
_RocqProjectFull
clean:
rm -f \
.RocqMakefile.d \
.lia.cache \
RocqMakefile \
RocqMakefile.conf \
_RocqProjectFull \
$(shell \
find . -type d \( \
-path ./.git -o \
-path ./.lake \
\) -prune -o \( \
-name '*.aux' -o \
-name '*.glob' -o \
-name '*.vo' -o \
-name '*.vok' -o \
-name '*.vos' \
\) -print \
)