From a2afc622e03a8b562fddc32e728ab15942f5bcc0 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 19 Sep 2010 04:05:14 +0200 Subject: [PATCH] Fix generating dependencies for .lib.o and .plugin.o. --- buildsys.mk.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildsys.mk.in b/buildsys.mk.in index 378bb41..9e55e06 100644 --- a/buildsys.mk.in +++ b/buildsys.mk.in @@ -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: