02.05.2013 Views

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>The</strong> Command<br />

Line<br />

You can combine options to make, as in the example<br />

make -f foo.mk func1.obj func2.obj<br />

Running <strong>MKS</strong> Make<br />

<strong>The</strong> previous sections gave you a glimpse of <strong>MKS</strong> Make’s versatility.<br />

You can specify a number of options and items on the command line<br />

to modify its behavior. In general, your command lines should<br />

conform to the format<br />

make [options] [macro definitions] [target…]<br />

You can specify a number of options on the command line. Options<br />

take the form of a single letter, prefixed with a dash. <strong>MKS</strong> Make<br />

distinguishes between uppercase and lowercase on the command<br />

lines, so it would treat the -e option and the -E option differently.<br />

If you want to specify several options on the same command line, you<br />

can bundle them together following a single dash. For example<br />

make -n -u<br />

make -nu<br />

are considered identical.<br />

Some options require an additional argument, as you saw previously<br />

with the -f option. You can bundle one of these options with others<br />

on the command line; however, it must appear last in the bundle, to<br />

allow for its argument. <strong>The</strong>se lines are considered identical:<br />

make -nuf foo.bar<br />

make -n -u -f foo.bar<br />

You may also append an argument directly to an option, although<br />

this syntax is now obsolete<br />

make -nuffoo.bar<br />

<strong>The</strong> following table briefly explains some of the most common<br />

command-line options. For the complete list of options, see the man<br />

page for the make command.<br />

<strong>User</strong> <strong>Guide</strong> 253

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

Saved successfully!

Ooh no, something went wrong!