update makefile and source tree