]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We need to include a variable, not the gmake shell funtion.
authorRoy Marples <roy@marples.name>
Mon, 20 Oct 2008 12:11:43 +0000 (12:11 +0000)
committerRoy Marples <roy@marples.name>
Mon, 20 Oct 2008 12:11:43 +0000 (12:11 +0000)
mk/depend.mk

index 3ad6d9964510a30d76e06d982c5f42e6aa9e883f..4b92a9c018053c6b5c282a31430933bcba4d7bfb 100644 (file)
@@ -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}