-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (29 loc) · 875 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
35
36
all: Makefile.coq
@echo "# Building base-library"
+@make -s -C base-library
@echo "# Building template-coq"
+@make -s -C template-coq/template-coq
@echo "# Building coq-library-undecidability"
+@make -s -C coq-library-undecidability
@echo "# Building this project"
+make -f Makefile.coq all
html: Makefile.coq
+make -f Makefile.coq html
rm -rf docs/website/*.html
mv html/*.html docs/website
rm -rf html
clean: Makefile.coq
+make -f Makefile.coq clean
rm -f Makefile.coq CoqMakefile.conf
realclean: Makefile.coq
+make -C template-coq/template-coqm clean
+make -C base-library clean
+make -C coq-library-undecidability clean
+make -f Makefile.coq clean
rm -f Makefile.coq CoqMakefile.conf
Makefile.coq: _CoqProject
coq_makefile -f _CoqProject > Makefile.coq
.PHONY: all html clean
#Costum alterations:
%.vo: Makefile.coq
+make -f Makefile.coq $@