File menu

Open Log...

Shows the Open Log File window which allows you to choose a filename of gmake output to be opened and displayed in maketool. This file can be a file saved by the Save Log... menu item, or a file generated from the command line using a command like:

# If you use sh, ksh, bash
gmake some-target 2>&1 | tee make.log
#  ...or...
gmake some-target > make.log 2>&1
# If you use csh, tcsh
gmake some-target |& tee make.log
#  ...or...
gmake some-target >& make.log

Save Log...

Shows the Save Log File window which allows you to choose a filename to which the text in the Log window will be saved. The file will contain the raw text from all gmake runs, exactly as gmake emitted it. The file can later be loaded into maketool again using the Open Log... menu item, or viewed in a text editor.

Change Directory...

Shows the Change Directory window which allows you to choose a directory. Maketool will make that directory it's current directory. Maketool will then scan any Makefile present in the directory and show the targets defined by the Makefile in the Build menu. Maketool will also detect what if any make system (see Make Systems) is in use in that directory, and show menu items accordingly. Finally, maketool will add the old directory to the Previous Directories menu.

Previous Directories

Lists the last directories in which maketool has been used. Select a directory, and maketool will change to that directory as if you had used the Change Directory... menu item. The previous directories are saved along with maketool's preferences, and will be there next time you start maketool.

Edit Makefile...

Starts up an editor session editing the Makefile in the current directory. If the current directory uses a system like autoconf or Imake to generate the Makefile from another source file, that other source file will be edited instead.

The filenames checked by this menu item are (in order):

  • The filename, if any, specified by Makefile in the Preferences.

  • The filenames searched by the current make program. For gmake, these are:

    • GNUmakefile

    • makefile

    • Makefile

If no Makefile is present, or it's filename is Makefile, the following filenames are also checked (in order):

  • Makefile.am (for automake)

  • Makefile.in (for autoconf)

  • Imakefile (for Imake)

Print...

Shows the Print window to allow you to print the contents of the Log window to a printer.

Exit

Quits maketool.

Note that if you haven't saved the contents of the Log window, maketool will NOT ask you if you want to save.