-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (36 loc) · 933 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
37
38
39
40
41
42
43
44
45
.PHONY: all ddse sato clean repl sandbox test benchmark
all: sato ddse translator
sato:
dune build
dune build src/sato-main/sato.exe
rm -f sato
ln -s _build/default/src/sato-main/sato.exe sato
translator:
dune build
dune build src/translator-main/translator.exe
rm -f translator
ln -s _build/default/src/translator-main/translator.exe translator
ddpa:
dune build
dune build src/toploop-main/ddpa_toploop.exe
rm -f ddpa_toploop
ln -s _build/default/src/toploop-main/ddpa_toploop.exe ddpa_toploop
sandbox:
dune build test/sandbox/sandbox.exe
rm -f sandbox
ln -s _build/default/test/sandbox/sandbox.exe sandbox
repl:
dune utop src -- -require pdr-programming
test:
dune build test/test.exe
_build/default/test/test.exe
clean:
dune clean
rm -f ddpa_toploop
rm -f translator
rm -f sandbox
rm -f test_generator
rm -f type_verifier
rm -f sato
benchmark:
dune exec benchmark-test-generation/benchmark.exe