Switch to automatic header dependency management.

No more manually maintaining what files depend on what headers - use GCC to tell
you!
Make dep gen do it in one invocation.