Improve "make check-spelling" target and add to git pre-commit hook
Clean up repetitive printf commands in Makefile