Remove unused rules in .gitignore and Makefile