Full automatic dependency resolution

See "Dependency based makefiles" for instructions.
Blank makefile template