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 $(OCAMLC) -linkpkg -o $@ $< test.opt: test.ml $(OCAMLOPT) -linkpkg -o $@ $< clean: rm -f test test.opt test.cmi test.cmo text.cmx