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.

make<br />

Usage Note<br />

to the full name of the target. When building a library, it expands to the<br />

name of the archive library. For example, if the target is:<br />

mylib(member)<br />

$@ expands to:<br />

mylib<br />

$% The full target name. When building a normal target, this macro evaluates<br />

to the full name of the target. When building a library, it expands to the<br />

name of the archive member. For example, if the target is:<br />

mylib(member)<br />

$% expands to:<br />

member<br />

$& The list of all prerequisites.<br />

$? The list of all prerequisites that are newer than the target.<br />

$^ The list of all prerequisites taken from the list specified on the rule line of<br />

the recipe where the $^ appears.<br />

$< In inference rules, it evaluates to the single prerequisite that caused the<br />

execution of the rule. In normal rules it evaluates the same as $?.<br />

$> The name of the library if the current target is a library member.<br />

$* The target name with no suffix ($(%:db)) or the value of the stem in a<br />

metarule.<br />

The constructs $$@, $$%, $$>, and $$* can appear in a prerequisite list as dynamic<br />

prerequisites. $$@ stands for the target currently being made. For example:<br />

fred : $$@.c<br />

fred : fred.c<br />

are equivalent. The construct can be modified, as in:<br />

fred.o : $$(@:b).c<br />

The runtime macros can be modified by the letters D and F to indicate only the<br />

directory portion of the target name or only the file portion of the target name. (The<br />

working directory is represented by a dot.) If define.h is the only prerequisite that is<br />

newer than the target, the macros $?D and $?F expand to dot ( .) and to define.h.<br />

If you are building a library, $$% stands for the name of the archive member being<br />

made. If you are building a normal target, $$% stands for the name of the target<br />

currently being made.<br />

$$* stands for the name of the current target being made, but with no suffix.<br />

If you are building a library, $$> stands for the name of the archive library being<br />

made. If you are not building a library, $$> is not valid.<br />

Comments begin with the pound (#) character and extend to the end of the line.<br />

make discards all comment text.<br />

396 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!