Added debugging capabilities to makefiles.
Log now does something.