OPT=-package pxp dtd2types: dtd2types.cmo ocamlfind ocamlc $(OPT) -linkpkg -o $@ dtd2types.cmo dtd2types.opt: dtd2types.cmx ocamlfind ocamlopt $(OPT) -linkpkg -o $@ dtd2types.cmx .SUFFIXES: .ml .mli .cmo .cmi .cmx .ml.cmo: ocamlfind ocamlc $(OPT) -c $< .ml.cmx: ocamlfind ocamlopt $(OPT) -c $< clean: rm -f *.cm* *~ *.o *.a dtd2types dtd2types.opt