summaryrefslogtreecommitdiff
path: root/Makefile
blob: 51d9995c6be28203504f1cb14822d32b164499b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: clean

BIN=analyze
SRCDIRS=libs,frontend,abstract

SRC= 	main.ml \
		abstract/constant_domain.ml \
		abstract/environment_domain.ml \
		abstract/interpret.ml \
		abstract/nonrelational.ml \
		abstract/value_domain.ml \

all: $(BIN)

$(BIN): $(SRC)
	ocamlbuild -Is $(SRCDIRS) -cflags '-I /usr/lib/ocaml/zarith' -lflags '-I /usr/lib/ocaml/zarith zarith.cmxa' main.native
	mv main.native $(BIN)

clean:
	rm -rf _build