mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
Makefile target to install the library
This commit is contained in:
parent
0b47a10e9b
commit
fb42ebcc09
2 changed files with 16 additions and 1 deletions
6
META
Normal file
6
META
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
name="sequence"
|
||||
version="0.1"
|
||||
description="Abstract sequences of elements, for conversion into and from data structures"
|
||||
requires=""
|
||||
archive(byte) = "sequence.cma"
|
||||
archive(native) = "sequence.cmxa"
|
||||
11
Makefile
11
Makefile
|
|
@ -1,6 +1,15 @@
|
|||
|
||||
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 tests.native sequence.docdir/index.html
|
||||
ocamlbuild tests.native $(TARGETS) $(DOC)
|
||||
|
||||
install: all
|
||||
ocamlfind install $(NAME) META $(INSTALL)
|
||||
|
||||
clean:
|
||||
ocamlbuild -clean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue