mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
makefile to build with ocamlbuild
This commit is contained in:
parent
848ca25d07
commit
f74af3784f
2 changed files with 19 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
INTERFACE_FILES = $(shell find src -name '*.mli')
|
||||
IMPLEMENTATION_FILES = $(shell find src -name '*.ml')
|
||||
|
||||
TARGETS_LIB = src/containers.cmxa src/containers.cma
|
||||
OPTIONS = -use-ocamlfind -lib sequence
|
||||
|
||||
all:
|
||||
ocamlbuild -use-ocamlfind $(TARGETS_LIB)
|
||||
|
||||
clean:
|
||||
ocamlbuild -clean
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
|
||||
3
_tags
Normal file
3
_tags
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<src>: include
|
||||
<**/*.ml*>: package(sequence)
|
||||
<**/*.cm*>: package(sequence)
|
||||
Loading…
Add table
Reference in a new issue