%% Levent Yilmaz <[EMAIL PROTECTED]> writes:

  ly> I have a set of associated pairs. And want to execute some command on 
  ly> each pair. Say for example,

  ly> # define present-past tense pairs as follows
  ly> present_tense = go   do  sit call
  ly> past_tense    = went did sat called

  ly> # somehow generate this phony command for each pair
  ly> # using eval (or by other(?) means)
  ly> @echo $(present) today. $(past) yesterday.

  ly> What I want to accomplish in effect is simply using $(foreach ...) but 
  ly> iterate simultaneously through more than one list...

I'd check out the pairmap function in the GMSL:

    http://gmsl.sourceforge.net/

-- 
-------------------------------------------------------------------------------
 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

Reply via email to