add -lpthread in Makefile
add .settings to gitignore