|
Home > Archive > Unix Programming > May 2007 > make $*
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I have seen documenation that says that inside a makefile $@
represents the target and $* represents the target minus any suffix.
On several machines, with both gnu make and Sun's make, $@ works as
specified, but $* is nil.
???
Simon
| |
|
| On May 21, 6:54 pm, Simon <resmi...@yahoo.com> wrote:
> I have seen documenation that says that inside a makefile $@
> represents the target and $* represents the target minus any suffix.
> On several machines, with both gnu make and Sun's make, $@ works as
> specified, but $* is nil.
>
> ???
>
> Simon
I guess I found the answer in the gnu make online manual:
"If the target name in an explicit rule does not end with a recognized
suffix, `$*' is set to the empty string for that rule."
| |
| Alex Colvin 2007-05-23, 7:20 pm |
| From the title I assumed this must be about
sudo nice -1 make $*
(make money fast)
--
mac the naïf
|
|
|
|
|