bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining new targets with eval during secondary expansion?


From: Brian Vandenberg
Subject: Re: Defining new targets with eval during secondary expansion?
Date: Mon, 13 Mar 2017 10:06:02 -0600

ASDF = $(foreach x, ${1}, $(eval $(call ${0}_, ${1}, $(dirname ${1})))) ${1}
define ASDF_ =
${1} :| ${2}
${2} : ; mkdir -p address@hidden
endef

$(call build/foo/bar/baz/mytarget) : other dependencies for mytarget

 
That last line should've read:


$(call ASDF, build/foo/bar/baz/mytarget) : other dependencies for mytarget

reply via email to

[Prev in Thread] Current Thread [Next in Thread]