From f74af3784f3b9963275d0537a544a4e38c3c2344 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 27 Feb 2013 16:17:42 +0100 Subject: [PATCH] makefile to build with ocamlbuild --- Makefile | 16 ++++++++++++++++ _tags | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 Makefile create mode 100644 _tags diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..1df3ca28 --- /dev/null +++ b/Makefile @@ -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 + + diff --git a/_tags b/_tags new file mode 100644 index 00000000..8bbbe8fe --- /dev/null +++ b/_tags @@ -0,0 +1,3 @@ +: include +<**/*.ml*>: package(sequence) +<**/*.cm*>: package(sequence)