Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] OCamldep & Paths
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier Andrieu <andrieu@i...>
Subject: Re: [Caml-list] OCamldep & Paths
 Warp [Tuesday 9 April 2002] :
 >
 > Seems like ocamldep got some problems with paths :
 > 
 > When I run : ocamldep aexpr.ml test.ml
 > I got the following :
 > 
 > aexpr.cmo : aexpr.cmi
 > test.cmo : aexpr.cmi
 > 
 > But if I run ocamldep from the parent directory : ocamldep aexpr/aexpr.ml
 > aexpr/test.ml
 > I got only :
 > 
 > aexpr/aexpr.cmo : aexpr/aexpr.cmi

There's an allusion to this somewhere in the manual (in the ocamldep
part I guess). You have to use the -I switch in this case :

  ocamldep -I aexptr aexpre/aexpr.ml aexpr/test.ml

should do what you want.

-- 
       Olivier
-------------------
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