Re: Compiling different version for a program with 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 > Re: Compiling different version for a program with make




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

    Re: Compiling different version for a program with make  
pmatos


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


 
02-20-05 11:20 PM

Hi,

I posted it afterwards in the same thread just because I didn't want to
clutter c.u.p. with more Make question. The post was: (copy & paste)

"Feb 19, 2:47 pm     show options
Newsgroups: comp.unix.programmer
From: "pmatos" <p...@sat.inesc-id.pt> - Find messages by this author
Date: 19 Feb 2005 14:47:18 -0800
Local: Sat, Feb 19 2005 2:47 pm
Subject: Re: Compiling different version for a program with make

OK, probably I'll define a script just to create that line and call
make. 

One thing, in make clean, to delete .o files in all my src tree (which
is deep!) I have as a line in clean the following: @-for i in `find .
-name "*.o"`; do rm -f $i; done
but for some reason this is not working. 

Is there any reason for this?"

Now, I know why it is not working but I don't know how to solve it...
$i is seen by make as its own variable and when send the command to the
shell since it is not defined just goes as a blank and does nothing.
How can I say bash, do not evaluate the variable?






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 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