iter/Makefile
Simon Cruanes d0c858ab9d update of README;
in Makefile, only build tests if required, because it requires ocaml4
2013-02-11 11:52:54 +01:00

18 lines
335 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)
tests:
ocamlbuild tests.native
install: all
ocamlfind install $(NAME) META $(INSTALL)
clean:
ocamlbuild -clean