add Makefile for static compilation
remove needless use of printf (cuts down on 7kB in static binary)
add nnp to .gitignore file