A tool which generates Makefile
s from a template, a set of cpp macro
s, and a per-directory input file called an Imakefile.
This allows machine dependencies (such has compiler options, alternate command names, and special make rules) to be kept separate from the descriptions of the various items to be built.
imake is distributed with, and used extensively by, the X Window System