helpmake - Support: sr #104347, Specifying inclusion relationships

 
 

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  
Votes:  1  
 
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

 

Carbon-Copy List
  • -unavailable- added by nachumk (Voted in favor of this item)
  •  

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

    Only logged-in users can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Jun 2013 10:31:24 PM UTCnachumkCarbon-Copy-=>Added nachumk

    Back to the top


    Powered by Savane 3.1-cleanup