
8 Oct
2008
8 Oct
'08
9:13 p.m.
Dear Jerry Van Baren,
In message 48ECF72E.20704@ge.com you wrote:
@rm -f $(obj)tools/env/{fw_printenv,fw_setenv}
...
Having said that, and with the disclaimer that I'm not sure it is an improvement, I believe the following line is a "make-ism" equivalent to the bash-ism (untested):
@rm -f $(foreach file, fw_printenv fw_setenv, $(obj)tools/env/$(file))
Well, I certainly think it ain't no improvment at all. Thebash code may be cryptic, but in a way that is readable to a prgrammer.
The make notation makes me believe I had too much beer (and I haven't even started yet).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The C-shell doesn't parse. It adhoculates.
- Casper.Dik@Holland.Sun.COM in 3ol96k$b2j@engnews2.Eng.Sun.COM