add auto-dependency-making system to Makefile
edit .gitignore to ignore dependency files