Re: pb with ocamldep

From: Sven LUTHER (luther@dpt-info.u-strasbg.fr)
Date: Thu Jun 08 2000 - 10:57:58 MET DST

  • Next message: Gerard Huet: "Re: pb with ocamldep"

    On Wed, Jun 07, 2000 at 04:21:08PM +0200, Christophe Raffalli wrote:
    >
    > It would be nice ocamldep coud also accept the -pp option to call a
    > preprocessor.
    >
    > I have some problems with files that are not syntacticaly correct before
    > preprocessing !
    > So I can not use ocamldep on these files and this is annoying.

    What about piping them through the preprocessor before handling them over to
    ocamldep, in true unixish tradition ?

    Something like (surely not exact, but you will understand the thought) :

    ls *.ml* | cpp <options> | ocamldep >>.depend

    Friendly,

    Sven LUTHER



    This archive was generated by hypermail 2b29 : Thu Jun 08 2000 - 22:35:06 MET DST