Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] coq_makefile and coqdep again

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] coq_makefile and coqdep again


chronological Thread 
  • From: Jasper Stein <jasper AT cs.kun.nl>
  • To: S�bastien Hinderer <Sebastien.Hinderer AT ens-lyon.fr>
  • Cc: Coq <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] coq_makefile and coqdep again
  • Date: Wed, 02 Jul 2003 12:08:41 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Sébastien Hinderer wrote:
Hi,

I have to write a set of compilation scripts for a project that has crossed
dependencies over directories:
the project consists of more directories, each of them containing more .v
files. However, it is not possible to compile the directories one after the
other, since the dependencies don't respect the directory structure.

So I presume that coq_makefile is not general enough, since its "depend"
rule looks for dependencies on "*.v", where I would need a recursive search
of *.v files.

Am I right or is there another solution ?

What may work (but it may not be the most elegant solutions in all cases) is to tweak your .coqrc file(s). If you add a line

Add Rec "/some/dir/"

then every subdirectory will be searched when Coq encounters a command Require blah. I'm not sure if coqdep or coq_makefile also pick these up, but you may try anyway.

Jasper
--
Het verschil tussen theorie en praktijk is dat in theorie
er geen verschil is tussen theorie en praktijk.





Archive powered by MhonArc 2.6.16.

Top of Page