All I am wanting to do something along the lines of...
some_file.out : ..... ver_$(basename $@).ver:
.....
The $@
does not expand as expected but only in the rule header. Inside the body of the rule all uses of ver_$(basename $@).ver
expand as desired. How would I modify this to make it work as desired?