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

MPW Command Reference


BuildCommands

Script

SYNTAX

BuildCommands program [Make options]

DESCRIPTION

The BuildCommands script writes to standard output the commands needed to build the specified program. The Make tool provides the commands for BuildCommands in the form of a makefile that is called program.make or Makefile.

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

MPW uses BuildCommands to implement the Show Build Commands and Show Full Build Commands menu items in the Build menu.

INPUT

None

OUTPUT

Standard output.

STATUS

If no errors occur during the build, BuildCommands returns a status code of 0. Otherwise BuildCommands returns a 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 generates complete build commands for myProgram, based on the makefile myprogram.make :

BuildCommands myProgram -e

SEE ALSO

BuildProgram

Make

 
 


Last Updated July 2000