summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/depend.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/depend.in b/config/depend.in
index b18660d..46dac4e 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -26,7 +26,7 @@ dep depend: .depend
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \
echo Building dependencies for $$dep; \
- obj=`echo $$dep | sed 's/\.c/.o/'`; \
+ obj=`echo $$dep | sed 's/\.c/\\\\.o/'`; \
sed "/$$obj/,/[^\\]$$/d" <$@ >$@- && mv $@- $@; \
$(CC) -M -MG $(CPPFLAGS) $$dep >>$@; \
fi; \