Source

dumbstreaming / Makefile

Full commit
LIO=dumbstreaming_io
LIT=dumbstreaming_it
PKG=dumbstreaming
VERSION=0.1

all :
	ocamlbuild \
	  $(LIO).cma $(LIO).cmxa $(LIO).a \
	  $(LIT).cma $(LIT).cmxa $(LIT).a

install : all
	ocamlfind install \
	  -patch-version $(VERSION) \
	  $(PKG) META  _build/ds_types.cmi \
	  _build/$(LIO).cma _build/$(LIO).cmxa _build/$(LIO).a \
	  _build/$(LIO).cmi \
	  _build/$(LIT).cma _build/$(LIT).cmxa _build/$(LIT).a \
	  _build/$(LIT).cmi

uninstall :
	ocamlfind remove $(PKG)

reinstall :
	-$(MAKE) uninstall
	$(MAKE) install

test_it :
	ocamlbuild test_it.byte
	./test_it.byte