How do I transform a list?

If you have a list then you can do this type of thing:

MODULES_LINK=$(foreach lib,$(MODULES),../$(lib)/library.lib)

So the form it expands to is like this:

../COL/library.lib ../FIL/library.lib

 

Related pages