Generate Makefiles for modules automatically.