Conditionals in makefile and added tags to gitignore