On Tue, 2010-11-16 at 10:12 +0330, ali hagigat wrote:
> If first make uses some arguments and the sub-make uses different
> arguments, will the sub-make have a combination of the two sets of the
> arguments? So it inherits the arguments of its parent program and will
> have its own arguments too?
> 
> What will be the order of these two sets of the arguments? What set
> comes first?
> 
> Sorry I have become confused. The first make invokes a shell and as
> the arguments of that shell will pass the invocation of the second
> make with its new arguments and also some old arguments from the first
> make? 

Please see the section "Communicating Options to a sub-'make'" in the
GNU make manual, where this exact subject is extensively documented.

If you have specific questions about behavior described (or not
described) in the docs let me know.

-- 
-------------------------------------------------------------------------------
 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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to