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

BIN=analyze
SRCDIRS=libs,frontend,abstract

SRC= 	main.ml \
		abstract/constant_domain.ml \
		abstract/intervals_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