mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
a Container module that packs everything; ToWeb module (depends on CamlGI) to expoert values on the web
52 lines
1 KiB
Makefile
52 lines
1 KiB
Makefile
# OASIS_START
|
|
# DO NOT EDIT (digest: bc1e05bfc8b39b664f29dae8dbd3ebbb)
|
|
|
|
SETUP = ocaml setup.ml
|
|
|
|
build: setup.data
|
|
$(SETUP) -build $(BUILDFLAGS)
|
|
|
|
doc: setup.data build
|
|
$(SETUP) -doc $(DOCFLAGS)
|
|
|
|
test: setup.data build
|
|
$(SETUP) -test $(TESTFLAGS)
|
|
|
|
all:
|
|
$(SETUP) -all $(ALLFLAGS)
|
|
|
|
install: setup.data
|
|
$(SETUP) -install $(INSTALLFLAGS)
|
|
|
|
uninstall: setup.data
|
|
$(SETUP) -uninstall $(UNINSTALLFLAGS)
|
|
|
|
reinstall: setup.data
|
|
$(SETUP) -reinstall $(REINSTALLFLAGS)
|
|
|
|
clean:
|
|
$(SETUP) -clean $(CLEANFLAGS)
|
|
|
|
distclean:
|
|
$(SETUP) -distclean $(DISTCLEANFLAGS)
|
|
|
|
setup.data:
|
|
$(SETUP) -configure $(CONFIGUREFLAGS)
|
|
|
|
.PHONY: build doc test all install uninstall reinstall clean distclean configure
|
|
|
|
# OASIS_STOP
|
|
|
|
EXAMPLES = examples/mem_size.native examples/collatz.native \
|
|
examples/bencode_write.native # examples/crawl.native
|
|
|
|
examples: all
|
|
ocamlbuild $(OPTIONS) -package unix -I . $(EXAMPLES)
|
|
|
|
push_doc: doc
|
|
scp -r containers.docdir/* cedeela.fr:~/simon/root/software/containers/
|
|
|
|
tags:
|
|
otags *.ml *.mli
|
|
|
|
.PHONY: examples push_doc tags
|