|
From: | Matthias Wenzel |
Subject: | Re: working around "execvp: echo: Argument list too long"? |
Date: | Thu, 11 Sep 2008 08:29:41 +0200 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080603) |
Hi Raleigh, Rinehart, Raleigh wrote:
What is it you need to do with each element?I'm not seeing how $(foreach var,list,text) isn't what you need. do_something := $(shell echo $(element)) $(foreach element,$(LARGE_VAR),$(do_something))
this does the trick. thanks. although the syntax is slightly different: all: $(-- $(foreach element,$(LARGE_VAR),$(shell command $(element))) Matthias
[Prev in Thread] | Current Thread | [Next in Thread] |