Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

MPW Command Reference


BuildProgram

Script

SYNTAX

BuildProgram program [Make options]

DESCRIPTION

The BuildProgram script builds the specified program and writes to standard output a simple transcript of the build, including timing information and build commands. The Make tool provides the commands for BuildProgram in the form of a makefile called program.make or Makefile.

You can control the generation of build commands by using the Make command's options, which BuildProgram passes directly to Make.

MPW uses BuildProgram to implement the Build and Full Build menu items in the Build menu.

INPUT

None

OUTPUT

Standard output.

STATUS

If no errors occur during the build, BuildProgram returns a status code of 0. Otherwise, BuildProgram returns the appropriate nonzero Make status code.

PARAMETERS

program

Specifies the program you want to build.

OPTIONS

Make options

You can specify any of the Make command options.

EXAMPLES

The following command line builds myProgram, based on the makefile myProgram.make:

BuildProgram myProgram

SEE ALSO

Make

 
 


Last Updated July 2000