comparison buildsys.mk.in @ 2877:74c302381136

fixed buildsys dependency resolver
author Andrew O. Shadoura <bugzilla@tut.by>
date Thu, 07 Aug 2008 16:10:10 +0300
parents f2bec2d589d6
children f64edfcbce87
comparison
equal deleted inserted replaced
2876:07bbc6cae113 2877:74c302381136
100 test -f .deps || regen=1; \ 100 test -f .deps || regen=1; \
101 for i in ${SRCS}; do \ 101 for i in ${SRCS}; do \
102 case $$i in \ 102 case $$i in \
103 *.o) \ 103 *.o) \
104 test $$i -nt .deps && regen=1; \ 104 test $$i -nt .deps && regen=1; \
105 deps="$${deps%.o}.dep $$i"; \ 105 deps="$${deps} $${i%.o}.dep"; \
106 ;; \ 106 ;; \
107 esac; \ 107 esac; \
108 done; \ 108 done; \
109 if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \ 109 if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \
110 ${DEPEND_STATUS}; \ 110 ${DEPEND_STATUS}; \