repository: unite the .gitignore rules
Makefile: merge into core