Add a depfile to the ninja do_build rule
Make the do_build rule a regular rule

Not sure why this was marked as generator, but that seems wrong.