Don't warn about empty scan results.
[dhcpcd-ui] / mk / depend.mk
index 22471a1fdf147e1c196476cf198302cae9cd2380..9eca00f55759660e1e62d26da8540a99efb64b62 100644 (file)
@@ -4,14 +4,7 @@
 CLEANFILES+=   .depend
 
 .depend: ${SRCS}
+       rm -f .depend
        ${CC} ${CPPFLAGS} ${CFLAGS} -MM ${SRCS} > .depend
 
 depend: .depend
-
-
-# Nasty hack. depend-.mk is a blank file, depend-gmake.mk has a gmake specific
-# command to optionally include .depend.
-# Someone should patch gmake to optionally include .depend if it exists.
-_INC_DEP=      $(shell if ${MAKE} --version | grep -q "^GNU "; then \
-               echo "gmake"; else echo ""; fi)
-include ${MK}/depend-${_INC_DEP}.mk