Makefile tutorial
Old but good.
http://www.codeproject.com/Articles/31488/Makefiles-in-Linux-An-Overview
You should also notice the use of special characters (- and @) preceding the commands. As explained before, - tells make to continue processing even an error occurs and @ tells make not to print command before executing it.