Browse thread
pb with ocamldep
-
Christophe Raffalli
- Max Skaller
-
Sven LUTHER
- Christophe Raffalli
- Daniel de Rauglaudre
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2000-06-08 (20:33) |
From: | Christophe Raffalli <Christophe.Raffalli@u...> |
Subject: | Re: pb with ocamldep |
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 Cedex té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