That makefile could be made even simpler if it used the implicit rules that compile c files into object files!