zhaoway ([EMAIL PROTECTED]) wrote: > for a call: make CXXFLAGS="-O2 -do-strength-reduce" LD="-s" > i want the wrapper (above "fake" make prog) to pass the CXXFLAGS=.. et al > to the real make prog (say, make_real).
How about this: alias make='make CXXFLAGS="-O2 -do-strength-reduce" LD=-s' (Put this in ~/.bashrc if it works; and make sure you have "source ~/.bashrc" or ". ~/.bashrc" in your ~/.bash_profile or ~/.profile. I will *never* understand why login bash shells do not read ~/.bashrc by default....) -- Greg Wooledge | Distributed.NET http://www.distributed.net/ [EMAIL PROTECTED] | because a CPU is a terrible thing to waste. http://www.kellnet.com/wooledge/ |