Sven LUTHER a écrit :
> 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
ocamldep doest not read its standard input because it needs the
filename.
I did somthing similar by runing the preprocessor on all files and
writing the result in a temporary folder ... It is not nice.
Michael Hicks a écrit :
> camlp4 pa_ifdef.cmo pr_depend.cmo -- $(INCLUDES) $(IFDEF_FLAGS) file1 file2
I do not want to ask my user to install yet another tool (normally it is
not a problem as
I distribute my software with the depend file included).
-- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedextél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI
This archive was generated by hypermail 2b29 : Thu Jun 08 2000 - 22:37:08 MET DST