Fix a bug in dependency generation.

This commit is contained in:
Jonathan Schleifer 2008-11-30 14:31:16 +01:00
parent 4dbf4aacfb
commit e008044d83

View file

@ -129,13 +129,13 @@ depend: pre-depend ${SRCS}
rm -f $$deps; \
${DEPEND_OK}; \
else \
:> $$deps; \
:> .deps; \
${DEPEND_FAILED}; \
fi; \
fi
.c.dep .cc.dep .cxx.dep .m.dep:
${CPP} ${CPPFLAGS} -M $< >$@
${CPP} ${CPPFLAGS} -M $< >$@ || rm -f $@
.d.dep:
.xpm.dep: