helpmake - Support: sr #105307, reorder target evaluation


You are not allowed to post comments on this tracker with your current authentication level.

sr #105307: reorder target evaluation

Submitted by:  None
Submitted on:  Tue 18 Apr 2006 04:26:14 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Duplicate
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Operating System: None

Tue 18 Apr 2006 04:47:26 PM UTC, comment #1:

Closing as a duplicate of bug #105.

Although they're slightly different in detail, the concept is the same and any solution to one should be flexible enough to solve all "ordering enhancements" for make.

Paul D. Smith <psmith>
Project Administrator
Tue 18 Apr 2006 04:26:14 PM UTC, original submission:

When I run make it evaluates a lot of targets based on the dependency rules. What I would like is a way to have the dispatch of unrelated things occur in an order sorted based on file timestamps. Example, suppose I have

prog: a.o b.o c.o d.o e.o f.o
%.o: %.cpp shared.h

If I modify shared.h everything will recompile. If that was all I modified, I don't care what order they recompile. But if I also modified d.cpp at the same time, I would like it to choose to dispatch d.cpp as early as possible, in preference to the other .cpp files.

Since I have a single giant makefile for a very large source tree, it is very difficult for me to reorder the rules to accomplish this. But when I have touched one header and (say) three scattered source files, getting them to compile first could often save a lot of time.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 18 Apr 2006 04:47:26 PM UTCpsmithStatusNone=>Duplicate

Back to the top

Powered by Savane 3.1-cleanup1