From: Remi Vanicat <remi.vanicat@laposte.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Ocamldep too "gentle".
Date: Tue, 02 Dec 2003 18:48:18 +0100 [thread overview]
Message-ID: <87y8tvxg9p.dlv@wanadoo.fr> (raw)
In-Reply-To: <20031202162658.GC27151@davidb.org> (David Brown's message of "Tue, 2 Dec 2003 08:26:58 -0800")
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
dependency....
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
next prev parent reply other threads:[~2003-12-02 17:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-02 16:26 David Brown
2003-12-02 16:42 ` Nicolas George
2003-12-02 16:53 ` samsaga2
2003-12-02 16:59 ` Nicolas George
2003-12-02 17:48 ` Remi Vanicat [this message]
2003-12-02 17:57 ` Damien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y8tvxg9p.dlv@wanadoo.fr \
--to=remi.vanicat@laposte.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox