adopt new systematic Makefile from NurseryTale
edit .gitignore to ignore dependency files
remove unused variable