The
make utility[
^] uses a
Makefile
which contains the commands, targets and templates to automate a set of commands. This is mainly used for compiling and linking source code into executable programs. The syntax of the Makefile is somewhat esoteric but once you understand the basics it is not too difficult to create your own. Work through the tutorial in the link above, and look at the
man
pages on your system for more information.