Hi,
Here is a patch (against GNU make 3.79.1, sorry) which fixes Gregoire's
problem. However, I'm not used to GNU make, so I certainly overlooked
something.
The idea is that every RM_DONTCARE file gets its dontcare flag set,
even if we already saw that file in some other rule.
Then, the
On Wed, 4 Dec 2002, Grégoire Sutre wrote:
>
> The following makefile goes through:
>
> ---
> all:
>
> dummy-fake:
>
> %.depend : %.c
> touch $@
>
> # Dependencies
>
> -include fake.depend
> ---
> localhost $ gmake
>
%% Ted Stern <[EMAIL PROTECTED]> writes:
ts> I'll let Paul explain why, as I would probably make a botch of it. ;-)
I think it's a bug :)
As Gregoire points out, the fact that a non-intermediate target exists
somewhere in the makefile shouldn't cause make's rebuilding of the
included makefile
On Tuesday 03 December 2002 21:44, you wrote:
> %% Grégoire Sutre <[EMAIL PROTECTED]> writes:
>
> gs> I was having errors with my Makefiles (for Objective Caml), and I
> could gs> pinpoint the problem with the attached very simple Makefile.
>
> gs> Basically (please see the attached Makefile),
%% Grégoire Sutre <[EMAIL PROTECTED]> writes:
gs> I was having errors with my Makefiles (for Objective Caml), and I could
gs> pinpoint the problem with the attached very simple Makefile.
gs> Basically (please see the attached Makefile), I use a:
gs> -include fake.depend
gs> statement
Hi,
I was having errors with my Makefiles (for Objective Caml), and I could
pinpoint the problem with the attached very simple Makefile.
Basically (please see the attached Makefile), I use a:
-include fake.depend
statement to include a dependencies makefile 'fake.depend', but this included
ma