Remove unused rules in .gitignore and Makefile
Merge pull request #695 from masuidrive/refactoring_gitignore

Remove unused rules in .gitignore and Makefile