mainmake - 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

Submitter:  None
Submitted:  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

Discussion

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

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    History

    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.16-11ef.
    Corresponding source code