helpmake - Support: sr #104347, Specifying inclusion relationships


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

sr #104347: Specifying inclusion relationships

Submitted by:  None
Submitted on:  Tue 21 Jun 2005 11:01:14 PM UTC  
Votes:  1  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is 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.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-19 nachumk Carbon-Copy- => Added nachumk

    Back to the top

    Powered by Savane 3.6