02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-r<br />

-S<br />

-s<br />

-t<br />

-u<br />

-V<br />

-v<br />

-x<br />

Targets<br />

checks whether the target is up-to-date. If it is, make exits with a status of 0; otherwise, it<br />

exits with a status of 1 (typically interpreted as an error by other software). make does not<br />

run <strong>com</strong>mands associated with the target unless they start with a plus sign (+) <strong>com</strong>mand<br />

prefix.<br />

does not read the default rules from the startup file.<br />

terminates make if an error occurs when bringing a target up-to-date (opposite of -k). This<br />

is the default.<br />

does not display recipe <strong>com</strong>mands, warning messages, or touch messages (see the -t<br />

option). This is equivalent to the .SILENT attribute or macro.<br />

touches the targets to mark them as up-to-date, but only execute <strong>com</strong>mands to change a<br />

target if the target has a plus sign (+) <strong>com</strong>mand prefix. make does not touch up-to-date<br />

targets or targets that have prerequisites but do not have recipes. make displays a message<br />

for each touched target file indicating the file name.<br />

forces an unconditional update: make behaves as if all the prerequisites of the given target<br />

are out-of-date.<br />

displays the version number of make and a list of built-in rules.<br />

displays a detailed account of make's progress, including files read, definition and<br />

redefinition of each macro, meta-rule and suffix rule searches, and other information.<br />

exports all macro definitions to the environment. This happens before make begins making<br />

targets (but after it reads the entire makefile).<br />

A target is normally a file that you want to ensure is up-to-date with the files that it is dependent on.<br />

For example, you may want to check to see if a is based on the most recent version of the<br />

corresponding source code and if not, re<strong>com</strong>pile the source code to get an up-to-date version. In<br />

this case, the <strong>com</strong>piled program file is the target and the corresponding source code files are<br />

407 of 457

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

Saved successfully!

Ooh no, something went wrong!