Cleaning makefile

and improve gitignore