help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Secondary Expansion


From: MD.Mahbubur Rahman
Subject: Secondary Expansion
Date: Tue, 13 Sep 2011 23:00:33 -0700 (PDT)

Hi Friends
I am facing problem to understand the following:

1) What is the difference between secondary expansion and "parsing make file
in the second phase"?
Does it mean that, secondary expansion occurs during second phase?

>From the make manual , what I under stood is that:

GNU make does its work in two distinct phases:
First Phase: Read in Phase
     Reads the Makefile
     Reads all the included Makefiles
     Internalizes all the variables
     Initialize all the variable values
     Internalizes all the implicit and explicit rules
     Constructs a dependency graph of all the targets and their
prerequisites.

Second Phase: Target Update Phase
     Analyzes the dependency graph.
     Determines which targets needs to be updated
     Executes command scripts to perform the required update.

What is the relation between second phase and secondary expansion ???
Please help !!!
-- 
View this message in context: 
http://old.nabble.com/Secondary-Expansion-tp32461067p32461067.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]