Remove .depend file before creating it.
[dhcpcd-ui] / mk / depend.mk
index 22471a1fdf147e1c196476cf198302cae9cd2380..1c8909f712d7e396bdabbdd3da10ba383732bbf3 100644 (file)
@@ -4,6 +4,7 @@
 CLEANFILES+=   .depend
 
 .depend: ${SRCS}
 CLEANFILES+=   .depend
 
 .depend: ${SRCS}
+       rm -f .depend
        ${CC} ${CPPFLAGS} ${CFLAGS} -MM ${SRCS} > .depend
 
 depend: .depend
        ${CC} ${CPPFLAGS} ${CFLAGS} -MM ${SRCS} > .depend
 
 depend: .depend