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

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.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)

    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.


    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.13-1277.
    Corresponding source code