Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

make(1) OSS Shell and Utilities Reference Manual
NAME
make - Maintains program dependencies
SYNOPSIS
make [-einpqrst ][-f makefile] ... [-k | -S ]
[ string1=[string2 ] ] ... [ target_name ... ]
FLAGS
-e Specifies that environmental variables override macro assignments within
makefiles.
-f makefile Specifies a makefile to read instead of the default makefile. If makefile is -
(dash), the standard input file is read. Multiple makefiles can be specified, and
they are read in the order specified.
-i Ignores nonzero exit of shell commands in the makele. This flag is equivalent
to specifying - (dash) before each command line in the makefile.
-k Continues processing after errors are encountered, but only on those targets that
do not depend on the target whose creation caused the error.
-n Displays the commands that would have been executed, but does not actually
execute them. If the lines have + (plus sign) prefixes, the commands are exe-
cuted.
-p Displays all the macro definitions and target descriptions.
-q Does not execute any commands, but returns exit value 0 (zero) if the specified
targets are up-to-date and 1 otherwise. If the lines have + (plus sign) prefixes,
the commands are executed.
-r Does not use the built-in rules specified in the system makele.
-S Terminates the make process if errors are encountered during updates. This is
the default behavior and is the opposite of the -k option.
-s Does not echo any commands as they are executed. This flag is equivalent to
specifying @ before each command line in the makefile.
-t Creates a target or updates its modification time to make it appear up-to-date,
instead of rebuilding a target as specified in the makefile. The target command
lines are typically not executed, unless the target command lines have + (plus
sign) prefixes, in which case they are executed.
string1=[string2]
Defines a macro, as described under Using Macros, later in this reference page.
The value specified as string1 is the macro name. The value specified as string2
is the macro definition.
target_name Species a target rule or a special target name, as described under Target Rules
and Special Targets, later in this reference page.
If no target_name is specified on the command line, the make utility uses the
first target dened in the makele and builds that target.
62 Hewlett-Packard Company 527188-004