Auto generate dependency, so incremental rebuild would work.

Also rename existing *.d file, to avoid conflict.