Lines 94-115
Link Here
|
94 |
test -f .deps || regen=1; \ |
94 |
test -f .deps || regen=1; \ |
95 |
for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \ |
95 |
for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \ |
96 |
if test x"$$regen" = x"1"; then \ |
96 |
if test x"$$regen" = x"1"; then \ |
97 |
list=""; \ |
|
|
98 |
${DEPEND_STATUS}; \ |
97 |
${DEPEND_STATUS}; \ |
99 |
for i in ${SRCS}; do \ |
98 |
for i in ${SRCS}; do \ |
100 |
case $${i##*.} in \ |
99 |
case $${i##*.} in \ |
101 |
c|cc|cxx|m) \ |
100 |
c|cc|cxx|m) \ |
102 |
list="$$list $$i"; \ |
101 |
if ! ${CPP} ${CPPFLAGS} -M $$i >>.deps; then\ |
|
|
102 |
${DEPEND_FAILED}; \ |
103 |
fi;\ |
103 |
;; \ |
104 |
;; \ |
104 |
esac; \ |
105 |
esac; \ |
105 |
done; \ |
106 |
done; \ |
106 |
if test x"$$list" != "x"; then \ |
107 |
${DEPEND_OK}; \ |
107 |
if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \ |
|
|
108 |
${DEPEND_OK}; \ |
109 |
else \ |
110 |
${DEPEND_FAILED}; \ |
111 |
fi; \ |
112 |
fi; \ |
113 |
fi |
108 |
fi |
114 |
|
109 |
|
115 |
pre-depend: |
110 |
pre-depend: |