[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x compile

From: Daniel Pfeiffer
Subject: Re: M-x compile
Date: Sun, 9 Feb 2003 14:09:45 +0100 (Christopher J. White) skribis:
> >>>>> "tiarnan" == Tiarnan O Corrain <> writes:
> tiarnan> Apropos M-x compile -- is there any way to set environment
> tiarnan> variables that may be needed by Makefiles when M-x compile
> tiarnan> runs make: e.g. DEVROOT or cognates?
> The current env in emacs is passed on to the compile process.
> So, just M-x setenv DEVROOT or put it in your .emacs.  If you
> need a different environment for different buffers, it's 
> a bit more ugly.

You can put them in your compile command like:

ENVVAR=xyz make



coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- GPL 3: take the wind out of Palladium's sails! --
  -- My other stuff here too, sawfish, --
    -- --

reply via email to

[Prev in Thread] Current Thread [Next in Thread]