1 # This file is included by Makefiles in subdirectories.
3 # Common rules for building OCaml objects.
6 ocamlfind ocamlc $(OCAMLCFLAGS) $(OCAMLCINCS) $(OCAMLCPACKAGES) -c $<
8 ocamlfind ocamlc $(OCAMLCFLAGS) $(OCAMLCINCS) $(OCAMLCPACKAGES) -c $<
10 ocamlfind ocamlopt $(OCAMLOPTFLAGS) $(OCAMLOPTINCS) $(OCAMLOPTPACKAGES) -c $<
16 .depend: $(wildcard *.mli) $(wildcard *.ml)
18 ocamlfind ocamldep $(OCAMLCPACKAGES) $^ > $@
20 ifeq ($(wildcard .depend),.depend)
24 .PHONY: depend dist check-manifest dpkg doc
26 .SUFFIXES: .cmo .cmi .cmx .ml .mli .mll