Makefile question

Andre Müller andre.muller at
Mon Feb 9 08:06:24 PST 2004


This is not a question about BLFS itself, but I could not think of a 
better place to put it.

I'm writing a little program whose Makefile has to create a little 
shell-script. This shell-script has to contain the string '$*' 
literally, but if I write this in the Makefile:
    echo '$*' >> script_name
finally the script contains nothing, as $* has no value in the Makefile.

So how can I do it?

Thank you.


you´ll have to make it literal, if i get you right.

so echo "\$*" or even echo "\$\*" should do it.


More information about the blfs-support mailing list