[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling C++ in Emacs (read Compiling and Testing...)
|
From: |
Hadron Quark |
|
Subject: |
Re: Compiling C++ in Emacs (read Compiling and Testing...) |
|
Date: |
Mon, 07 Aug 2006 08:49:16 +0200 |
|
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
"Paulo J. Matos" <address@hidden> writes:
> On 05/08/06, Miles Bader <address@hidden> wrote:
>> Kevin Rodgers <address@hidden> writes:
>> > cd /directory/to/run/in && make target
>>
>> I usually use `make -C /some/dir'
>>
>
> Ah, that's nice. Didn't know about the -C flag.
> After Peter and Kevin replies I just dired to the directory and called
> compile from there. :-)
>
> -C seems a nicer way since I don't need to use dired. :-)
>
In addition, if you open a file, emacs assumes that directory when you compile.