Hi,

I don't recall many details, but...

Angel Tsankov wrote:
You also need to add each dependency
file on the list of prerequisites of the respective .o file. This will
trigger rebuild of the object and dependency file if the depenency
file is missing...

you might get a situation where unnecessary make-runs or builds are done, just 
to satisfy the new dependency chains you create, *if* make knows how to build 
dependency files in the first place.
Paul's 'advanced' method builds upon the concept of dependency files being something make 
need not "know anything about" IIRC, in order not to do too much.
Greg's suggestion is the way to go if your users may delete dependency files 
inadvertently.

Regards,

Johan
--
JB Enterprises - Johan Bezem         Tel:   +49 172 5463210
Software Architect - Project Manager Fax:   +49 172 50 5463210
Realtime / Embedded Consultant       Email: [EMAIL PROTECTED]
Design - Development - Test - QA     Web:   http://www.bezem.de




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

Reply via email to