Applied debian/patches/003_avoid_makedepend.patch from
[rpld.git] / Makefile
index 54f1379..4260d87 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -257,7 +257,7 @@ proto: ${PROTOSRCS} ${HSRCS} ${LSRCS:%.lex=%.tab.h}
 
 
 depend: ${RCSFILES} ${YSRCS:%.y=%.tab.h} 
-       makedepend -f- ${INCLUDES} ${ALLSRCS} > .depend
+       ${CC} -MM ${INCLUDES} ${ALLSRCS} > .depend
 
 nodep:
        /bin/rm -rf .depend