From: Roy Marples Date: Mon, 20 Oct 2008 12:11:43 +0000 (+0000) Subject: We need to include a variable, not the gmake shell funtion. X-Git-Tag: v5.0.0~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d901c6acdb95b1377ed0b88fe96db508b6b16a93;p=thirdparty%2Fdhcpcd.git We need to include a variable, not the gmake shell funtion. --- diff --git a/mk/depend.mk b/mk/depend.mk index 3ad6d996..4b92a9c0 100644 --- a/mk/depend.mk +++ b/mk/depend.mk @@ -10,4 +10,5 @@ depend: .depend # Nasty hack for gmake which does not automatically include .depend # if it exists, unlike every other make implementation. -include $(shell if test -e .depend; then echo .depend; else echo ""; fi) +INC_DEPEND=$(shell if test -e .depend; then echo .depend; else echo ""; fi) +include ${INC_DEPEND}