RE: make management problems

2006-01-31 Thread Martin Dorey
> I didn't succeed to find (  ) the way to make the MAKE to stop after the > predefined number of errors has occurred. ( or after the some file has > failed to compile ) make does, by default, stop at the first error it encounters. (Perhaps that isn't sufficiently clear in the manual - you cou

RE: Static Rules Unceremoniously Dropped

2006-01-31 Thread William Ahern
On Tue, 2006-01-31 at 14:44 -0800, Martin Dorey wrote: > ( > As documented in info make, 10.5.1: > >`%' in a prerequisite of a pattern rule stands for the same stem > that was matched by the `%' in the target. In order for the pattern > rule to apply, its target pattern must match the file na

RE: Static Rules Unceremoniously Dropped

2006-01-31 Thread Martin Dorey
( As documented in info make, 10.5.1: `%' in a prerequisite of a pattern rule stands for the same stem that was matched by the `%' in the target. In order for the pattern rule to apply, its target pattern must match the file name under consideration, and its prerequisite patterns must name fil

Static Rules Unceremoniously Dropped

2006-01-31 Thread William Ahern
Using 3.81beta3, it seems that one of our pattern rules CFLAGS_$(d) := -DFOO $(d)/%.o: $(d)/%.c -lfoo -lbar $(CC) $(CFLAGS_$(@D)) ... is dropped without notice when -lbar is not found. Note that LIBPATTERNS is nullified, and -lfoo and -lbar are explicit .INTERMEDI

Re: Static Rules Unceremoniously Dropped

2006-01-31 Thread William Ahern
On Tue, 2006-01-31 at 14:14 -0800, William Ahern wrote: > Using 3.81beta3, it seems that one of our pattern rules > > CFLAGS_$(d) := -DFOO > > $(d)/%.o: $(d)/%.c -lfoo -lbar > $(CC) $(CFLAGS_$(@D)) ... > Oops. Misprint. I meant "Pattern Rules Unceremoniously Dropped".

Re: Static Rules Unceremoniously Dropped

2006-01-31 Thread Paul D. Smith
%% William Ahern <[EMAIL PROTECTED]> writes: wa> Using 3.81beta3, it seems that one of our pattern rules wa> CFLAGS_$(d) := -DFOO wa> $(d)/%.o: $(d)/%.c -lfoo -lbar wa> $(CC) $(CFLAGS_$(@D)) ... wa> is dropped without notice when -lbar is not found. Note that wa> LIBPAT

Re: GNU-Make 3.80. Catch-all rule. Strange behavior. Bug?

2006-01-31 Thread Nick Patavalis
On Mon, Jan 30, 2006 at 01:57:13PM -0500, [EMAIL PROTECTED] wrote: > > To understand why make printed "default Makefile", you need to read the > previous section "How Makefiles are Remade". > Yes, I understand what happens. The problem, though, is that from reading the "Overriding Makefiles" sec