support dependency generation correctly

I guessed wrong. Clang does supports dependency generation too.