Reputation: 30985
In a Makefile recipe, I can refer to the current target name by using '$@'.
Assuming you have:
%.foo:
@echo "Blah!"
And you call that with:
make bar
'$@' would return 'bar.foo'. Is there a way to refer just to 'bar'?
Upvotes: 2
Views: 2582