remove BSD make code to handle including .depend
This commit is contained in:
parent
aaaea44d22
commit
a2e9cde737
@ -1,2 +0,0 @@
|
|||||||
# This space left intentionally blank because gmake does not load .depend
|
|
||||||
# by default
|
|
@ -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
|
|
@ -10,9 +10,4 @@ IGNOREFILES+= .depend
|
|||||||
|
|
||||||
depend: .depend extra_depend
|
depend: .depend extra_depend
|
||||||
|
|
||||||
# Nasty hack. depend-.mk is a blank file, depend-gmake.mk has a gmake specific
|
-include .depend
|
||||||
# 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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user