Added a swap files to the .gitignore, modified Makefile to use library
flags