make $*
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > make $*




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    make $*  
Simon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-22-07 06:18 AM

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






[ Post a follow-up to this message ]



    Re: make $*  
Simon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-22-07 06:18 AM

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."






[ Post a follow-up to this message ]



    Re: make $*  
Alex Colvin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-07 12:20 AM

From the title I assumed this must be about

sudo nice -1 make $*

(make money fast)
--
mac the naïf





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:25 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register