Hi Bob, * Bob Friesenhahn wrote on Wed, Oct 21, 2009 at 10:03:41PM CEST: > clean-codersLTLIBRARIES: > -test -z "$(coders_LTLIBRARIES)" || rm -f $(coders_LTLIBRARIES) > @list='$(coders_LTLIBRARIES)'; for p in $$list; do \ > dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ > test "$$dir" != "$$p" || dir=.; \ > echo "rm -f \"$${dir}/so_locations\""; \ > rm -f "$${dir}/so_locations"; \ > done > > or > > clean-binPROGRAMS: > @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ > echo " rm -f" $$list; \ > rm -f $$list || exit $$?; \ > test -n "$(EXEEXT)" || exit 0; \ > list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ > echo " rm -f" $$list; \ > rm -f $$list > > Is there a way to make this quite a lot faster?
The LTLIBRARIES bits: yes, noted. The PROGRAMS bits should be reasonably fast already, only forking a constant number of times. Thanks, Ralf