-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
36 lines (32 loc) · 1.1 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
EASYDIRS = SF/lf SF/vfa compiler vminus auto
MOREDIRS = $(EASYDIRS) Stlc qc Metalib Stlc
all:
@set -e; for d in $(EASYDIRS); \
do echo Building $$d...; \
$(MAKE) -C $$d; \
done
echo Building Metalib...
(cd Metalib; make; make install; make doc)
echo Building Stlc...
(cd Stlc; make; make html)
echo Building qc...
$(MAKE) qc-depends
$(MAKE) -C qc
clean:
@set -e; for d in $(MOREDIRS); \
do echo Cleaning $$d...; \
$(MAKE) -C $$d clean; \
done
qc-depends:
@command -v quickChick >/dev/null 2>&1 || \
{ echo Please install QuickChick:; \
echo git clone https://github.com/QuickChick/QuickChick.git \
echo and then see README.md for installation instructions \
exit 1; }
@if ! (opam list | grep --quiet ext-lib); then \
echo Please install coq-ext-lib:; \
echo opam repo add coq-released https://coq.inria.fr/opam/released \
echo opam update \
echo opam install coq-ext-lib \
exit 1; \
fi