add doc support
update Makefile