UNIX in a Nutshell: System V Edition

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

make

/usr/ccs/bin/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 Chapter 20, The make Utility, for more information on make. See also Managing Projects with make, listed in the Bibliography.

Note: the Solaris make has many extensions over the standard SVR4 make described here. See make(1) for more information.

Options

-e

Override makefile assignments with environment variables.

-f makefile

Use makefile as the description file; a filename - 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: man
Reference: mailxBook IndexReference: man

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