OSDN Git Service

- fix typo (have to check the content, not if true)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 4 Jun 2008 08:57:14 +0000 (08:57 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 4 Jun 2008 08:57:14 +0000 (08:57 -0000)
Makerules

index dffd2ac..dcc84d6 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -341,8 +341,9 @@ files.dep := $(libc-a-y) $(libc-so-y) $(libc-nonshared-y) \
 # Oh, and prepend a dot to the basename so i don't have to change my habit of
 # calling 'size thefile.o*'
 .depends.dep := $(foreach f,$(.depends.dep),$(dir $(f)).$(notdir $(f)))
+.depends.dep := $(wildcard $(.depends.dep))
 
-ifdef .depends.dep
+ifneq ($(strip $(.depends.dep)),)
 -include $(.depends.dep)
 endif