Thanks, I made a mistake and was touching the wrong header file. Sorry about that. Dependencies are correctly generated and working. There seems to be no need to add the header files to the list of sources.
BTW It seems that dependencies for header files in the same path as the sources are generated implicitly. Is that expected?