UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: mailxChapter 2
UNIX Commands
Next: Reference: makekey
 

make

make [options] [targets]

Update one or more targets according to dependency instructions in a description file in the current directory. By default, this file is called makefile or Makefile. See Section 19 for more information on make. See also the Nutshell Handbook, Managing Projects with make.

Options

-e

Override makefile assignments with environment variables.

-f makefile

Use makefile as the description file; a filename of - denotes standard input.

-i

Ignore command error codes (same as .IGNORE).

-k

Abandon the current entry when it fails, but keep working with unrelated entries.

-n

Print commands but don't execute (used for testing).

-p

Print macro definitions and target descriptions.

-q

Query; return 0 if file is up-to-date; nonzero otherwise.

-r

Do not use "default" rules.

-s

Do not display command lines (same as .SILENT).

-t

Touch the target files, causing them to be updated.


Previous: Reference: mailxUNIX in a Nutshell: System V EditionNext: Reference: makekey
Reference: mailxBook IndexReference: makekey

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System