Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] How to work with multiple files?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] How to work with multiple files?


chronological Thread 
  • From: Hendrik Tews <tews AT os.inf.tu-dresden.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] How to work with multiple files?
  • Date: Thu, 02 Dec 2010 14:58:14 +0100

Pierre Courtieu 
<Pierre.Courtieu AT cnam.fr>
 writes:

   I would even
   encourage to retract a buffer before starting a new one. 

Proof General retracts partial buffers when one starts scripting
in a new one.

   By the way, does someone know how to tell make to compile all
   dependencies of target but not the target itself? This would help.

This is not too difficult. Just use a pseudo goal, which depends
on the real things. eg

buf1.pseudo: buf2.vo ...

and in buf1.v you include at the end

(*** Local Variables ***)
(*** compile-command: "make buf1.pseudo" ***)
(*** End: ***)

This causes emacs to call the indicated command when you invoke
M-x compile (which one should bind to some key).

Bye,

Hendrik



Archive powered by MhonArc 2.6.16.

Top of Page