blob: 4a76187f1010e652e52827886cf997c8fad29f15 (
plain) (
blame)
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
|
.PHONY: clean
BIN=analyze
SRCDIRS=libs,frontend,interpret,abstract
SRC= main.ml \
frontend/ast.ml \
frontend/parser.mly \
frontend/lexer.mll \
frontend/ast_printer.ml \
frontend/ast_util.ml \
\
frontend/typing.ml \
frontend/rename.ml \
\
abstract/intervals_domain.ml \
abstract/nonrelational.ml \
abstract/apron_domain.ml \
abstract/num_domain.ml \
abstract/enum_domain.ml \
abstract/enum_domain_edd.ml \
\
abstract/formula.ml \
abstract/formula_printer.ml \
abstract/transform.ml \
\
abstract/varenv.ml \
abstract/abs_interp.ml \
abstract/abs_interp_edd.ml \
abstract/abs_interp_dynpart.ml \
interpret/interpret.ml \
all: $(BIN)
$(BIN): $(SRC)
ocamlbuild -Is $(SRCDIRS) -cflags '-I +zarith -I +apron -I +gmp -I +str' \
-lflags '-I +zarith -I +apron -I +gmp -I +str str.cmxa zarith.cmxa bigarray.cmxa gmp.cmxa apron.cmxa polkaMPQ.cmxa unix.cmxa' \
main.native \
-classic-display
mv main.native $(BIN)
clean:
rm $(BIN)
ocamlbuild -clean
|