summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/depend-.mk2
-rw-r--r--mk/depend-gmake.mk3
-rw-r--r--mk/depend.mk7
3 files changed, 1 insertions, 11 deletions
diff --git a/mk/depend-.mk b/mk/depend-.mk
deleted file mode 100644
index 9d13b52..0000000
--- a/mk/depend-.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# This space left intentionally blank because gmake does not load .depend
-# by default
diff --git a/mk/depend-gmake.mk b/mk/depend-gmake.mk
deleted file mode 100644
index 947843e..0000000
--- a/mk/depend-gmake.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-# Tell gmake to include the optional dependency file.
-# This sucks, but I don't know any other way of portably making this work.
--include .depend
diff --git a/mk/depend.mk b/mk/depend.mk
index 067c1ef..44af378 100644
--- a/mk/depend.mk
+++ b/mk/depend.mk
@@ -10,9 +10,4 @@ IGNOREFILES+= .depend
depend: .depend extra_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
+-include .depend