summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: a1ce3583b9a695c1494e3c6687b95c592336563b (plain)
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
.PHONY: all test clean doc lib test_power

all: lib doc
	ocamlbuild -classic-display sail.native test/run_tests.native

test: all
	./run_tests.native

test_power:
	#../../../rsem/idl/power/binary/run.sh
	SAIL_OPTS=-skip_constraints ocamlbuild -classic-display sail.native test/run_power.native
	./run_power.native --file ../../../rsem/idl/power/binary/main.bin

clean:
	-ocamlbuild -clean
	-rm -rf _build
	-rm -rf html-doc
	-rm -rf tex-doc
	-rm -rf lem lib
	-rm -rf sail.docdir

doc:
	ocamlbuild sail.docdir/index.html

lib:
	ocamlbuild pretty_print.cmxa pretty_print.cma