Karl Karl - 5 months ago 24
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

I want to do something like:

test.%.%:

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