Add an ignore file and fix makefile