Permalink
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (33 sloc) 1.15 KB
# OASIS_START
# DO NOT EDIT (digest: 658582336b0f135eb71fa94307014b50)
SETUP = ./setup.exe
build: setup.data $(SETUP)
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data $(SETUP) build
$(SETUP) -doc $(DOCFLAGS)
test: setup.data $(SETUP) build
$(SETUP) -test $(TESTFLAGS)
all: $(SETUP)
$(SETUP) -all $(ALLFLAGS)
install: setup.data $(SETUP)
$(SETUP) -install $(INSTALLFLAGS)
uninstall: setup.data $(SETUP)
$(SETUP) -uninstall $(UNINSTALLFLAGS)
reinstall: setup.data $(SETUP)
$(SETUP) -reinstall $(REINSTALLFLAGS)
clean: $(SETUP)
$(SETUP) -clean $(CLEANFLAGS)
distclean: $(SETUP)
$(SETUP) -distclean $(DISTCLEANFLAGS)
$(RM) $(SETUP)
setup.data: $(SETUP)
$(SETUP) -configure $(CONFIGUREFLAGS)
configure: $(SETUP)
$(SETUP) -configure $(CONFIGUREFLAGS)
setup.exe: setup.ml _oasis
ocamlfind ocamlopt -o $@ -linkpkg -package oasis.dynrun setup.ml || ocamlfind ocamlc -o $@ -linkpkg -package oasis.dynrun setup.ml || true
$(RM) setup.cmi setup.cmo setup.cmx setup.o setup.cmt
.PHONY: build doc test all install uninstall reinstall clean distclean configure
# OASIS_STOP
wikidoc: $(SETUP) setup.data build
$(SETUP) -build deriving-api.wikidocdir/index.wiki