# Rules for all OCaml files.
%.cmi: %.mli
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@
-%.cmo: %.ml
+%.cmo: %.ml ../../lib/whenlib.cma
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@
#%.cmx: %.ml
# $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(PP) -c $< -o $@