Notes for a 1-2 hour introduction to makefiles, covering their basic use up to simple automatic variables.
Slides for the same are here.
Some simple test files and examples to work through are available as zip or can be found here