Karl Karl - 1 year ago 82
Linux Question

How can i get second variable in gnu make targets

Currently i have this

test.%:
echo $*


I want to do something like

test.%.%:
echo $1 && echo $2


Is it possible to fo like that

Answer Source

I want to do something like:

test.%.%:

You can't. GNU make supports only single % per pattern.