modify Makefiles