makefile and minor fix
add bin to gitignore