I think it'd be good to put the .d-files in the build directory too.