Paul D. Smith <[EMAIL PROTECTED]> writes:

> %% Boris Kolpackov <[EMAIL PROTECTED]> writes:
> 
>   bk> Actually it sort of works. For example the following two lines at the
>   bk> beginning of the makefile
> 
>   bk> .SUFFIXES:
>   bk> MAKEFLAGS += -r
> 
>   bk> are equivalent to running 'make -r'.
> 
> Actually, not.  The MAKEFLAGS+=-r is not doing anything here.
> 
> .SUFFIXES: will remove all builtin suffix rules, but it won't impact
> builtin pattern rules.

I disagree. Built-in pattern rules are installed only after makefile
is read (main.c:1624). Before that (main.c:1491) flags are re-evaluated
in case they were (re)set in the makefile. I even put debug print in 
install_default_implicit_rules to make sure ;-).

-boris

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to