Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9ab1e413cf
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.781 kb
# This Makefile provides only what is needed to build and install nproc.
# Development is done with omake using the OMakefile.
.PHONY: default all opt install uninstall
default: all opt
META: META.in VERSION
echo "version = \"$$(cat VERSION)\"" > META
cat META.in >> META
all: META
ocamlfind ocamlc -c nproc.mli -package lwt.unix
ocamlfind ocamlc -a -g nproc.ml -o nproc.cma -package lwt.unix
opt: META
ocamlfind ocamlc -c nproc.mli -package lwt.unix
ocamlfind ocamlopt -a -g nproc.ml -o nproc.cmxa -package lwt.unix
install:
ocamlfind install nproc META \
`find nproc.mli nproc.cmi \
nproc.cmo nproc.cma \
nproc.cmx nproc.o nproc.cmxa nproc.a`
uninstall:
ocamlfind remove nproc
.PHONY: clean
clean:
omake clean
rm -f *.omc
Jump to Line
Something went wrong with that request. Please try again.