Dependency files
With this a 'dependency' file is generated for each source file. This speeds up building, when for instance you would change one header file, and thereby cause every object to be recompiled.
Dependencies are also no longer generated when only running clean/cleandep targets.
I also added a SILENT
flag and distclean
target, which cause the makefile to output nothing to stdout and clean both objects and dependencies in one shot, respectively.