build: Make module build also depend on header file
commitdafb89c7a307272189b29a5c74bd6e33068ac831
authorTobias Klauser <tklauser@distanz.ch>
Sat, 2 May 2015 17:12:33 +0000 (2 19:12 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Sat, 2 May 2015 17:15:13 +0000 (2 19:15 +0200)
tree853db4973b17b69580f3f4ae7ece4a8c24f6d1ba
parent11c7e6a5f5d0d78f03f59e5d071aff7a11126127
build: Make module build also depend on header file

If only a header file is changed, the corresponding module is not
rebuilt. Thus, add a rule to make module build depend on the header file
as well (where applicable) to circumvent this effect.

Note: This will still not necessarily catch every dependency between
modules, source and header files.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Template