Explicitely list the directories in which we rm the static(only?) libs.
clean:
$(Q)$(RM) -r lib include/bits
- $(RM) lib*/*.a ldso/*/*.a libpthread/*/*.a
- $(RM) include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
+ $(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
$(MAKE) objclean-y headers_clean-y
$(MAKE) -s -C test clean
$(MAKE) -C utils utils_clean