mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
24 lines
485 B
Makefile
24 lines
485 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)
|
|
|
|
bench: all
|
|
ocamlbuild \
|
|
-cflags -I,`ocamlfind query extlib` \
|
|
-lflags -I,`ocamlfind query extlib` \
|
|
-package extlib -package unix bench.native
|
|
|
|
tests:
|
|
ocamlbuild tests.native
|
|
|
|
install: all
|
|
ocamlfind install $(NAME) META $(INSTALL)
|
|
|
|
clean:
|
|
ocamlbuild -clean
|