comparison buildsys.mk.in @ 1902:a21e391a5490

target depend should use ${CFLAGS} otherwise it will miss installed headers.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 27 Sep 2007 12:00:45 +0900
parents 8bdede3414cd
children 81b524aa7fcd
comparison
equal deleted inserted replaced
1901:fa2a37d3f7a2 1902:a21e391a5490
99 c|cc|cxx|m) \ 99 c|cc|cxx|m) \
100 list="$$list $$i"; \ 100 list="$$list $$i"; \
101 ;; \ 101 ;; \
102 esac; \ 102 esac; \
103 done; \ 103 done; \
104 if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \ 104 if ${CPP} ${CPPFLAGS} ${CFLAGS} -M $$list >.deps; then \
105 ${DEPEND_OK}; \ 105 ${DEPEND_OK}; \
106 else \ 106 else \
107 ${DEPEND_FAILED}; \ 107 ${DEPEND_FAILED}; \
108 fi; \ 108 fi; \
109 fi 109 fi