help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Management C Project Files with Emacs?


From: Daniel
Subject: Re: Management C Project Files with Emacs?
Date: 28 Mar 2007 17:00:19 -0700
User-agent: G2/1.0

On Mar 28, 4:15 pm, "Colin S. Miller" <no-spam-
thank-...@csmiller.demon.co.uk> wrote:
> Daniel wrote:
> > Hi,
>
> > If I want to compile a large project like Linux Kernel, I don't know
> > how I can use emacs.
>
> > 2. Whenever opening a file, it seems that emacs change current
> > directory. So, I cannot simply type "M-x compile RET make". Is there
> > anyway to have emacs to stick on specific directory?
>
> These easiest way to do this is to change the compile line to
>
> cd /path/to/src/ && make -f Makefile ALL
>
> HTH,
> Colin S. Miller
>
> --
> Replace the obvious in my email address with the first three letters of the 
> hostname to reply.

Hi Colin,

That is good idea.

Moreover, I also find I could make it this:
     M-x make RET make -C /usr/src/linux RET
Above make option indicates the root directory for the make no matter
where I am in.

Thank you guys, it was helpful to me.



reply via email to

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