makefile to build with ocamlbuild

This commit is contained in:
Simon Cruanes 2013-02-27 16:17:42 +01:00
parent 848ca25d07
commit f74af3784f
2 changed files with 19 additions and 0 deletions

16
Makefile Normal file
View 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
View file

@ -0,0 +1,3 @@
<src>: include
<**/*.ml*>: package(sequence)
<**/*.cm*>: package(sequence)