[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

?complex args pass to other app w/o changing?

i want a wapper for make that do "make -j -l 10.00"-like things.
so i need the wrapper (pretend as make) to pass args to it to
the real make program. that is

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

but i cannot make a wrapper wrote in neither bash or perl do the trick.
they only passed "CXXFLAGS=-O2 -no-trangth-reduce LD=-s" (no quotes) as
seperate args as seperated by white space, w/ the double-quotes effect

can anyone enlighten me? TIA.


Reply to: