core: add tags and clean to Makefile and fix .gitignore