refactoring local make inc