Add some directives to Makefile and gitignore
Use more restrictive gcc flags