%% Regarding Re: changing MAKEFLAGS to affect current makefile; you wrote: >> Actually, not. The MAKEFLAGS+=-r is not doing anything here.
bk> I disagree. Built-in pattern rules are installed only after makefile bk> is read (main.c:1624). Before that (main.c:1491) flags are re-evaluated bk> in case they were (re)set in the makefile. I even put debug print in bk> install_default_implicit_rules to make sure ;-). That may be true, but it doesn't matter because the setting of the MAKEFLAGS variable inside the makefile doesn't actually set the internal variables make uses to decide whether or not -r was given. I ran your makefile with "make -pq" and compared the output to what I get when I use "make -rpq", and the output is very different... -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
