Add compiler-generated Makefile dependencies

I hate this so much it hurts, but not having working dependencies makes me crazy.