blob: e3e539161bc7055ad7769c6107e7cc5ef46f1097 (
plain) (
tree)
|
|
.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/formula.ml \
abstract/formula_printer.ml \
abstract/transform.ml \
\
abstract/abs_interp.ml \
abstract/abs_interp_edd.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' \
main.native
mv main.native $(BIN)
clean:
rm $(BIN)
ocamlbuild -clean
|