update two Makefiles