English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Ocamldep too "gentle".
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-12-02 (17:48)
From: Remi Vanicat <remi.vanicat@l...>
Subject: Re: [Caml-list] Ocamldep too "gentle".
David Brown <caml-list@davidb.org> writes:

> I'm having a problem with ocamldep being too "gentle".  I have a file
> units.ml that is generated with extract_crc.  The problem is that
> ocamldep gets run at the beginning of the make, when units.ml doesn't
> yet exist.  ocamldep doesn't output the dependency on units.cmo and
> units.cmx because it can't find the source file.

The solution is to generate units.ml before generating the

You could try to look at what the OcamlMakefile do for ocamllex and
ocamlyacc generated ml file.

Rémi Vanicat

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners