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; \
|
esac; \
|
||||||
done; \
|
done; \
|
||||||
|
if test x"$$list" != "x"; then \
|
||||||
if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
|
if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
|
||||||
${DEPEND_OK}; \
|
${DEPEND_OK}; \
|
||||||
else \
|
else \
|
||||||
${DEPEND_FAILED}; \
|
${DEPEND_FAILED}; \
|
||||||
fi; \
|
fi; \
|
||||||
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre-depend:
|
pre-depend:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue