> 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
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
(
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
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
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".
%% 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
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