[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs and parent directory Makefile
From: |
Andreas Politz |
Subject: |
Re: Emacs and parent directory Makefile |
Date: |
Wed, 08 Dec 2010 15:18:16 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Fri, 9 Jul 2010 11:51:19 -0500
>> From: =?ISO-8859-1?Q?St=E9phane_Maniaci?= <stephane.maniaci@gmail.com>
>>
>> My project uses non-recursive Makefile, thus there is only (at the moment) a
>> single Makefile in my project root tree, that compiles (with Autotools) all
>> my sources files, located in the src/ directory.
>>
>> Now the problem is : when I'm editing my code and tries to compile it (M-x
>> compile), I have to use 'make -k -C ../', which works fine, but Emacs
>> doesn't know anymore which files contains error. When trying to move to last
>> error, it outputs this :
>>
>> Find this error in (default src/ease-about-dialog.vala): ~/build/ease/src/
>>
>> Does anyone have a workaround for this ?
>
> Switch to the buffer that visits your top-level Makefile, before
> typing "M-x compile".
`compile' processes a preceding cd command, so
cd ../ && make
should also work.
-ap
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Emacs and parent directory Makefile,
Andreas Politz <=