about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 813ffc4ef0..83b167846a 100644
--- a/Makefile
+++ b/Makefile
@@ -261,13 +261,14 @@ $(all-subdirs-targets):
 
 # Subroutines of all cleaning targets.
 parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules.
-	-rm -f $(foreach o,$(object-suffixes),\
+	-rm -f $(foreach o,$(object-suffixes-for-libc),\
 		   $(common-objpfx)$(patsubst %,$(libtype$o),c)) \
 	       $(addprefix $(objpfx),$(install-lib))
 parent-clean: parent-mostlyclean common-clean
 
 postclean = $(addprefix $(common-objpfx),$(postclean-generated)) \
-	    $(addprefix $(objpfx),sysd-Makefile sysd-dirs sysd-rules)
+	    $(addprefix $(objpfx),sysd-Makefile sysd-dirs sysd-rules) \
+	    $(objpfx)soversions.mk
 
 clean: parent-clean
 # This is done this way rather than having `subdir_clean' be a