| January 18, 2011 | Making Sense of 'make' | Back Next |
"A makefile consists of dependency lines of text which define a target ... followed by a colon and optionally a set of files on which the target depends."
target [target ...]: [component ...]
"After each dependency line, a series of lines of tab-indented text may follow which define how to transform the components (usually source files) into the target (usually the 'output')."
target [target ...]: [component ...]
[<TAB>command 1]
.
.
.
[<TAB>command n]
"If any of the components have been modified, the command below are run."
[1exercise]
| Home Last TOC | Copyright © 2011 James E Keenan | Back Next |