/
How do I transform a list?

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 content

Dependency Tree
Dependency Tree
Read with this
Assign list to a variable using \ line breaks
Assign list to a variable using \ line breaks
More like this
Are make dependencies worth the time trade off?
Are make dependencies worth the time trade off?
Read with this
PRJ Library
More like this
Make recipe rule
Make recipe rule
Read with this
Add Libraries to Collections
Add Libraries to Collections
More like this