From 64ba3e5e0836bde4e85d6d2fdd133e2d37211e86 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 5 Jun 2008 12:29:36 +0000 Subject: - switching thread impls without makeing clean before left the objs of the previously selected impl lying around on a distclean. Make sure that this does not happen. --- Makefile.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7c638d3e1..820d8fb68 100644 --- a/Makefile.in +++ b/Makefile.in @@ -408,10 +408,15 @@ defconfig: extra/config/conf include/bits clean: $(Q)$(RM) -r lib include/bits - $(RM) ldso/*/*.a libpthread/*/*.a libc/*.a libcrypt/*.a libintl/*.a \ - libm/*.a libnsl/*.a libpthread/*.a libresolv/*.a librt/*.a \ - libutil/*.a lib/*.a \ - include/fpu_control.h include/dl-osinfo.h include/hp-timing.h + $(Q)$(RM) $(foreach ext,a o os oS,ldso/*/*.$(ext) \ + libc/*.$(ext) libcrypt/*.$(ext) libintl/*.$(ext) libm/*.$(ext) \ + libnsl/*.$(ext) libpthread/*.$(ext) libresolv/*.$(ext) \ + librt/*.$(ext) libutil/*.$(ext) lib/*.$(ext) \ + libpthread/*/*.$(ext) libpthread/*/*/*.$(ext) \ + libpthread/*/*/*/*.$(ext) libpthread/*/*/*/*/*.$(ext) \ + libpthread/*/*/*/*/*/*.$(ext) libpthread/*/*/*/*/*/*/*.$(ext) \ + libpthread/*/*/*/*/*/*/*/*.$(ext)) + $(Q)$(RM) include/fpu_control.h include/dl-osinfo.h include/hp-timing.h $(MAKE) objclean-y headers_clean-y $(MAKE) -s -C test clean $(MAKE) -C utils utils_clean -- cgit v1.2.3