Hi Paul. On 05/22/2013 05:17 PM, Paul D. Smith wrote: > Follow-up Comment #1, bug #26596 (project make): > > Hm. I'm not sure why the immediate expansion has limited content. Is there > any purpose to this? Wouldn't it just be better to have the immediate > expansion resolve to the entire thing? I'll have to look into it; maybe > there's a good reason for doing it this way. > FWIW, the current behavior of $(MFLAGS) and $(MAKEFLAGS) is used as a feature in Automake-NG (my Automake fork that assumes the generated makefiles will only be run by GNU make); see the comments about the 'am.make.is-running-with-option' macro in <http://git.sv.gnu.org/cgit/automake.git/tree/lib/am/header-vars.mk?h=ng/master> Changing it will probably break something there :-(
But maybe, are you willing to implement new macro(s) that makes is easier to probe at runtime, from within the makefiles, the flags passed to GNU make? In that case, I'd be more than willing to adjust Automake and/or Automake-NG to take advantage of that. Regards, Stefano _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make