3
OCAMLDEP_MODULES_ENABLED = false
10
MLI = $(addsuffix .mli, $(FILES))
12
OCamlLibrary(nproc, $(FILES))
13
OCamlProgram(test_nproc, $(FILES) test_nproc)
15
.DEFAULT: META nproc.cma nproc.cmxa test_nproc.opt
18
echo "version = \"$$(cat VERSION)\"" > META
25
.PHONY: install uninstall
27
ocamlfind install nproc META nproc.mli nproc.cmi \
29
nproc.cmx nproc.o nproc.cmxa nproc.a
31
ocamlfind remove nproc
36
doc/index.html: $(MLI)
38
ocamlfind ocamldoc -d doc -html $(MLI) -package $(OCAMLPACKS)
42
cd ../mylifelabs.github.com && mkdir -p nproc
43
cp doc/* ../mylifelabs.github.com/nproc
47
rm -f *.o *.a *.cm* *~ *.annot *.run *.opt test_nproc META doc/*