Only generate .deps file if there are files for it.
This commit is contained in:
parent
5938b04f69
commit
e150fa72f5
1 changed files with 6 additions and 4 deletions
|
@ -100,11 +100,13 @@ depend: pre-depend ${SRCS}
|
|||
;; \
|
||||
esac; \
|
||||
done; \
|
||||
if test x"$$list" != "x"; then \
|
||||
if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
|
||||
${DEPEND_OK}; \
|
||||
else \
|
||||
${DEPEND_FAILED}; \
|
||||
fi; \
|
||||
fi; \
|
||||
fi
|
||||
|
||||
pre-depend:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue