16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Attributes<br />

.SUFFIXES: .a .c<br />

echo adding $< to library $@<br />

then if mem$0 exists, then the following command:<br />

make "mylib(mem.o)"<br />

causes:<br />

adding mem.o to library mylib<br />

to be printed.<br />

make defines several target attributes. Attributes can be assigned to a single target,<br />

a group of targets, or to all targets in the makefile. Attributes affect what make does<br />

when it needs to update a target. You can associate attributes with targets by<br />

specifying a rule of the form:<br />

attribute_list : targets<br />

This assigns the attributes in attribute_list to the given targets. If you do not specify<br />

any targets, the attributes apply to every target in the makefile. You can also put<br />

attributes inside a normal rule, as in:<br />

targets attribute_list : prerequisites<br />

The recognized attributes are:<br />

.EPILOG<br />

Insert shell epilog code when running a group recipe associated with any<br />

target having this attribute set.<br />

.IGNORE<br />

Ignore an error when trying to make any target with this attribute set.<br />

.LIBRARY<br />

Target is a library.<br />

.PRECIOUS<br />

Do not remove this target under any circumstances. Any automatically<br />

inferred prerequisite inherits this attribute.<br />

.PROLOG<br />

Insert shell prolog code when running a group recipe associated with any<br />

target having this attribute set.<br />

make<br />

.SETDIR<br />

Change the working directory to a specified directory when making<br />

associated targets. The syntax of this attribute is .SETDIR=path, where path<br />

is the pathname of desired working directory. If path contains any :<br />

characters, the entire attribute string must be quoted, not just the<br />

pathname.<br />

.SILENT<br />

Do not echo the recipe lines when making any target with this attribute set,<br />

and do not issue any warnings. You can use any attribute with any target,<br />

including special targets.<br />

Chapter 2. Shell command descriptions 403

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!