rules.mk: make sure we always create a .depend file
authorWolfgang Denk <wd@denx.de>
Tue, 5 Oct 2010 12:08:55 +0000 (14:08 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Oct 2010 20:19:58 +0000 (22:19 +0200)
commitb15fbd4996ee1feedb524abfff7c581d885b51df
tree29266a961e5e9801d2a6796364894b28584b8832
parentd6288664743cdd4824cb877ca424619c827c1256
rules.mk: make sure we always create a .depend file

There are some cases where "make depend" would always run when
entering a directory.  This happened when both the $(SRCS) and
$(HOSTSRCS) lists were empty (which is for example typical for the
examples/api/ directory).  Avoid this by making sure that a ".depend"
file gets always created, even if empty.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
rules.mk