[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make clean is slow
From: |
Ralf Wildenhues |
Subject: |
Re: make clean is slow |
Date: |
Wed, 21 Oct 2009 22:11:40 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
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
- make clean is slow, Bob Friesenhahn, 2009/10/21
- Re: make clean is slow,
Ralf Wildenhues <=