Skip to content
Advertisement

How can i get second variable in gnu make targets

Currently i have this

JavaScript

I want to do something like

JavaScript

Is it possible to fo like that

Advertisement

Answer

You can only have one wildcard per pattern, but you can further process the pattern to extract the information you want. For your example above, this would work:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement