add ignore, modify Makefile and build script