iter/Makefile
2013-05-28 14:02:55 +02:00

27 lines
605 B
Makefile

NAME = sequence
DOC = sequence.docdir/index.html
TARGETS = sequence.cma sequence.cmxa sequence.cmi sequence.a
LIB = $(addprefix _build/, $(TARGETS))
INSTALL = $(LIB) sequence.mli
all:
ocamlbuild $(TARGETS) $(DOC)
benchs: all
ocamlbuild -use-ocamlfind -pkg bench -pkg unix tests/benchs.native \
tests/simple_bench.native
tests:
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
install: all
ocamlfind install $(NAME) META $(INSTALL)
push_doc: all
scp -r sequence.docdir/ cedeela.fr:~/simon/root/software/sequence/
clean:
ocamlbuild -clean
.PHONY: all clean tests benchs push_doc