REQUIRES = gdome2-xslt PREDICATES = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) all: test opt: test.opt test: test.ml ( export OCAMLPATH=.; $(OCAMLC) -linkpkg -o $@ $< ) test.opt: test.ml ( export OCAMLPATH=.; $(OCAMLOPT) -linkpkg -o $@ $< ) clean: rm -f test test.opt test.cmi test.cmo text.cmx