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 ]
|