update makefile and entry point