added .gitignore
fixed makefile for macos