Browse Source

- fix typo (have to check the content, not if true)

Bernhard Reutner-Fischer 17 years ago
parent
commit
542bc8ee46
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Makerules

+ 2 - 1
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
 # Oh, and prepend a dot to the basename so i don't have to change my habit of
 # calling 'size thefile.o*'
 # calling 'size thefile.o*'
 .depends.dep := $(foreach f,$(.depends.dep),$(dir $(f)).$(notdir $(f)))
 .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)
 -include $(.depends.dep)
 endif
 endif