Refactoring Makefiles.