MPE/iX Shell and Utilities Reference Manual, Vol 1

make(1) MPE/iX Shell and Utilities make(1)
NAME
make — maintain program-generated and interdependent files
SYNOPSIS
make [–EeinpqrstuVvx][–k|–S][–c dir][–f file] ...
[macro definition] ... [target ...]
DESCRIPTION
make is a command that helps you manage projects that contain a set of interdependent files.
Typical examples would be a program with many source and object files, or a document that is
built from source files, macro files, and so on. make keeps all the files up-to-date with one
another: if one file changes, make updates all the other files that depend on the changed file.
Note: This implementation of make features the .POSIX special target to provide maximum
portability. When you specify this target, make processes the makefile as specified in the
POSIX.2 standard. For details, see the description of .POSIX in the Special Targets section of
this man page.
Options
make accepts the following options:
–c dir attempts to change into the specified directory when make starts up. If make can’t
change directory, an error message is displayed. This is useful for recursive makefiles
when building in a different directory.
–E suppresses reading of the environment. If neither –E nor –e are specified, make
reads the environment before reading the makefile.
–e reads the environment after reading the makefile. If neither –E nor –e are specified,
make reads the environment before reading the makefile.
–f file uses file as the source for the makefile description. make ignores the makefiles
specified as prerequisites to the .MAKEFILES target. If you specify file as , make
reads the standard input.
–i ignores all errors and continues making other targets. This is equivalent to the
.IGNORE attribute or macro.
–k makes all independent targets, even if an error occurs. Specifying –k tells make to
ignore the error and continue to make as much as possible. make does not attempt to
update anything that depends on the target that was being made when the error
occurred.
–n displays the commands that make would execute to update the chosen targets, but
does not actually execute the commands unless they have a plus sign (+) prefix.
When this option is specified, make displays lines with an at sign (@) prefix on the
1-334 Commands and Utilities