[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw: "Advanced Auto-Dependency Generation" question
From: |
Johan Bezem |
Subject: |
Re: Fw: "Advanced Auto-Dependency Generation" question |
Date: |
Tue, 16 Aug 2005 20:51:58 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
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: address@hidden
Design - Development - Test - QA Web: http://www.bezem.de