Makefile question

David Rosal davidrr at
Mon Feb 9 07:54:41 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.

David Rosal,  davidrr at
LFS user number 10657

More information about the blfs-support mailing list