helpmake - Support: sr #104347, Specifying inclusion relationships

 
 
Show feedback again

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

sr #104347: Specifying inclusion relationships

Submitted by:  None
Submitted on:  Tue 21 Jun 2005 11:01:14 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Tue 21 Jun 2005 11:01:14 PM UTC, original submission:

A makefile rule specifies a "depends-on" relationship between a target and some prerequisites. I propose adding a new type of relationship to makefiles: an "includes" relationship. Suppose, for the sake of example, this was written using "<" (less-than) instead of ":" (colon), the standard symbol for "depends-on" relationships. You could write:

foo.c < foo.h bar.h

bar.h < tiger.h

foo.o : foo.c

This means foo.c includes the header files foo.h and bar.h, and the header file bar.h includes the header file tiger.h. So foo.o has foo.c, foo.h, bar.h, and tiger.h as prerequisites.

The ability to specify "includes" relationships in this way would make it possible to simplify and speed up automated dependency generation.

Anonymous

 

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

 

 

No Changes Have Been Made to This Item
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup