modify makefiles