Add some directives to MAkefile and gitignore