modify the Makefiles