update makefile and doc