blob: 92ca224686ead88175d433112acd2959f3674b6f (
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
27
28
29
30
31
|
.PHONY: all test clean doc lib test_power test_idempotence
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
ocamlbuild -classic-display sail.native test/run_power.native
./run_power.native --file ../../../rsem/idl/power/binary/main.bin
test_idempotence:
@cd test; for file in *.sail; do \
./idempotence.sh $$file; echo ;\
done
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
|