[WIP] Tidy up the Makefile template.