Programs pane

This pane is part of the Preferences window which is shown when you select the Preferences menu item. It allows you to control the way in which maketool runs programs to do various tasks.

Make Program:

This combobox allows you to choose which make program will be used to build targets. Maketool knows about several make programs including GNU gmake, BSD 4.4 pmake, Solaris make and IRIX smake. For each make program, maketool knows the commandline options and other features of the make program necessary to implement maketool features; many of the % Escape Characters used to construct commands depend on the value of this combobox.

This combobox appeared in maketool version 0.8; before that maketool could only be used with gmake.

Make a target:

The string in this text field is expanded (see % Escape Characters) and run when you start building a target, e.g. all, from the Build menu menu or the Build All or Clean tools. The expanded command is appended to the log window as a new top-level indented item; the command's output is filtered for errors and warnings and appended to the log window.

List make targets:

The string in this text field is expanded (see % Escape Characters) and run when maketool starts and every time maketool changes working directory (i.e. you use the Change Directory menu item or the Previous Directories menu). The command's output is filtered to extract the set of targets defined by the Makefile, in a way which depends on the make program selected in the Make Program: combobox.

List make version:

The string in this text field is expanded (see % Escape Characters) and run the first time you open the About Make window. The command's output is displayed in the About Make window.

Edit source files:

The string in this text field is expanded (see % Escape Characters) and run every time you edit a source file (using the Edit Error, Edit Next Error, Edit Next File Error, or Edit Prev Error menu items, the Edit Next Error or Edit File Next Error tools, or double-clicking on an error or warning in the log window. Maketool discards the command's output and does not wait for the command to finish or check the command's exit code.

Build makefile:

If the Build Makefile from Imakefile or Makefile.in checkbox in the Preferences is on, the string in this text field is expanded (see % Escape Characters) and run just before you start building a target, e.g. all, from the Build menu menu or the Build All or Clean tools. The expanded command is appended to the log window as a new top-level indented item; the command's output is filtered for errors and warnings and appended to the log window.

Help browser:

This text field specifies the command run when maketool's help text or web page is viewed. The program must be capable of displaying HTML text and resolving file: and http: URLs. The only percent escape (see % Escape Characters) expanded is %u. Maketool discards the command's output and does not wait for the command to finish or check the command's exit code.