%% "Dill, John" <[EMAIL PROTECTED]> writes: dj> I have a problem I want to create a list of characters to pass to dj> a function which calls subst over that list. I want to do dj> something like this.
dj> my_chars:=1 2 3 4 5 6 7 8 9 dj> my-subst=$(eval temp_variable := $1)$(foreach iter,$(my_chars),$(eval temp_variable:=$(subst $(iter),,$(temp_variable))))$(temp_variable) dj> where my_chars could be simply $2. Can you be a little more clear about this? How would you call my-subst and what do you want the resulting expansion to be? -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
