build: Refactor 'make local'
build: Refactor configurable variables
build: Improved clean system

This improves the quality of make clean and adds a make distclean target
for more thoroughly clearing up.