On Mon, 2010-10-11 at 14:18 +0000, Partha None wrote: > I am confused about not passing $(MAKEFLAGS) to the invoked > sub-makefile. > I need to pass that because I wanted to pass all the parameters of the > COMMAND LINE to the invoked sub-makefile which I am calling from the > root MAKEFILE. > So, why are you saying to remove $(MAKEFLAGS)?
Hi Partha; please keep all discussion on the mailing lists, thanks! I explained the answers to your questions in my original reply: > Using the variable $(MAKE) in your rule is enough. All the command line > flags are transmitted to sub-makes through a special method make uses, > which ensures proper quoting etc. Trying to do it yourself, as you're > doing here, is almost certainly doomed to fail. By "flags" above I mean not only make options but also variable assignments on the command line. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
