Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 639 Bytes
.PHONY: all clean install build
all: build doc
J ?= 2
ocamlopt.opt -o $@ $< || ocamlopt -o $@ $< || ocamlc -o $@ $<
rm -f setup.cmx setup.cmi setup.o setup.cmo setup.bin
./setup.bin -configure --enable-tests
build: setup.bin
./setup.bin -build -j $(J)
doc: setup.bin
./setup.bin -doc -j $(J)
install: setup.bin
./setup.bin -install
test: setup.bin build
./setup.bin -test
reinstall: setup.bin
ocamlfind remove $(NAME) || true
./setup.bin -reinstall
ocamlbuild -clean
rm -f setup.log setup.bin lib/ lib/
Something went wrong with that request. Please try again.