help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

associated lists


From: Levent Yilmaz
Subject: associated lists
Date: Thu, 23 Jun 2005 15:06:52 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

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

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

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


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

Any ideas?

thank you
- L.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]