Thank you so much, Luke. You've revealed this great trick just in time,
about which GNU make manual does not say. Correct me if it does say.

On Sat, 26 Feb 2011 21:23:15 -0500, Luke Shumaker <[email protected]>
wrote:
> The trick is to get the different commands on different lines.  Try
> this:
> 
> define _ExecuteShcmdArray
> $(foreach c,$1,@$($c)
> )
> endef
> 
> shellcmd1 = cd .. ; pwd
> shellcmd2 = cd .. ; pwd
> 
> all:
>       $(call _ExecuteShcmdArray,shellcmd1 shellcmd2)


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to