02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

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 adds string1 to the front, and string2 to the end, of each token in the token_list. To include<br />

brace brackets while this target is set, use {{ and }}; you cannot include literal brace brackets in<br />

the token list. You can achieve the same kind of brace expansion in modern versions of make by<br />

using macro expansion with prefix and suffix modifiers:<br />

$(TOKEN_BASE:^"prefix":+"suffix")<br />

Note that the double quotes are required. Future versions of MKS Make may dispense with brace<br />

expansion <strong>com</strong>pletely.<br />

.CYCLECHECK<br />

This special target may have no prerequisites and no recipe associated with it. If set, it<br />

determines how make treats circular dependencies (for more information, see the Circular<br />

Dependencies section of this reference page). You can specify one of five attributes with<br />

this target. If you specify more than one attribute, an error message results. The five<br />

attributes are:<br />

.SILENT<br />

make remains silent about any within-rule and between-rule circular dependencies, removes<br />

the offending dependency from the list of prerequisites, and continues.<br />

.WARNTARG<br />

make issues warnings for named targets with circular dependencies. If the name of the<br />

dependency is the same as the named target, it is removed from the list of prerequisites and<br />

make continues. This is the default behavior if .CYCLECHECK is not specified or is specified<br />

with no attributes.<br />

.WARNALL<br />

make issues warnings for all within-rule circular dependencies regardless of whether the<br />

target is being built or not and for all between-rule circular dependencies for the named<br />

targets. The offending dependency is removed from the list of prerequisites and make<br />

continues.<br />

.FATALTARG<br />

make treats all circular dependencies for named targets as fatal errors. It issues an error<br />

message and exits.<br />

.FATALALL<br />

make treats all within-rule circular dependencies as fatal errors whether the target is being<br />

built or not. It also treats all between-rule circular dependencies for named targets as fatal<br />

errors. make issues an error message and exits.<br />

For example, to set the circular dependency check to make's default, use the rule:<br />

422 of 457

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

Saved successfully!

Ooh no, something went wrong!