Makefile question

Rainer Peter Feller rainer at maren.desy.de
Mon Feb 9 07:01:41 PST 2004


On Mon, 9 Feb 2004, David Rosal wrote:

> Hy!
>
> 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 menta.net
> LFS user number 10657
> --

something like
	echo '$$*' >> script_name
would do it

  H
CUH Rainer Peter Feller
  H




More information about the blfs-support mailing list