update makefile if needed.