In the recipe for the goal, I want to generate a bash script that processes command line arguments ... however the Makefile escape output speeds me up
target: deps echo "./a.out \" $ @ \ ""> wrapper.a.out
However, $ @ is of particular importance in the GNU Makefile, which messed things up.
Tried $ @ , $$ @ ... nothing works.
So what is the right way to do this?
source
share