1748129 Members
3637 Online
108758 Solutions
New Discussion

Tru64 Posix

 
Yoram Adler
Occasional Contributor

Tru64 Posix

In the make(1p) manual the following was written related to .USE Target Attribute:

".USE - If this attribute is used for a target, that target turns into make's equivalent of macro. When the target is used as a source for another target, the other target acquires the commands, sources and attributes (except .USE) of the source. If the target already has commands, the .USE targets commands are added to the end. If more than one .USE marked source is given to a target, the rules are applied sequentially."

The following are my questions?
1. Can someone has ever used this feature?
2. Can someone explain me for what purposes he used this feature?
3. Can he send me an example (makefile) for using the feature?

Thanks in Advance