Fix generating dependencies for .lib.o and .plugin.o.

This commit is contained in:
Jonathan Schleifer 2010-09-19 04:05:14 +02:00
parent ec588cb00a
commit a2afc622e0

View file

@ -135,7 +135,9 @@ depend: pre-depend ${SRCS}
fi
.c.c.dep .cc.cc.dep .cxx.cxx.dep .m.m.dep .mm.mm.dep .S.S.dep:
${CPP} ${CPPFLAGS} -M $< >$@ || (rm -f $@; exit 1)
${CPP} ${CPPFLAGS} -M $< | \
sed 's/^\([^\.]*\)\.o:/\1.o \1.lib.o \1.plugin.o:/' >$@ || \
(rm -f $@; exit 1)
pre-depend: