On Tue, 02 Dec 2003 18:48:18 +0100 Remi Vanicat wrote: > You could try to look at what the OcamlMakefile do for ocamllex and > ocamlyacc generated ml file. I had the same problem with packages (-pack), but since there is no source file at all, one cannot do something like what does OCamlMakefile. Currently, I do "touch toto.ml; ocamldep ...; rm toto.ml" but I've also written the attached small patch to ocamldep, which add an option "-f ", allowing the user to force some dependencies to be generated even if there is no .ml[i] file. Hope this help, damien