[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Writing contents of large variable into a file
From: |
John Graham-Cumming |
Subject: |
RE: Writing contents of large variable into a file |
Date: |
Tue, 22 Feb 2005 09:10:13 -0500 |
On Mon, 2005-02-21 at 10:04 +0100, address@hidden wrote:
> > write-var-to-file=$(strip $(shell rm -f $1)$(eval __a
> > :=)$(foreach
> > w,$($2),$(if $(filter $3,$(words $(__a))),$(shell echo -n
> > "$(strip
> > $(__a)) " >> $1)$(eval __a:=))$(eval __a +=$w))$(shell
> > echo $(__a)
> > >> $1))
>
> Cool stuff. Unfortunately this does not work on my system (cygwin with GNU
> Make 3.80).
Let me know if I can help. What error are you getting? Or what
happens?
John.
--
John Graham-Cumming
Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/