From: Doug Evans Date: Wed, 20 Jul 1994 02:17:55 +0000 (+0000) Subject: (clean): Remove multilib build dirs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75ed5d8b3ae7eda29aeff8c853c616868d3e9f0c;p=gcc.git (clean): Remove multilib build dirs. From-SVN: r7784 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f8062f7b9b4..2a620786610 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1801,7 +1801,13 @@ clean: mostlyclean bytecode.clean lang.clean # Delete the include directory. -rm -rf stmp-* include objc-headers -rm -f */stmp-* +# Delete files used by the "multilib" facility (including libgcc subdirs). -rm -f multilib.h tmpmultilib* + -if [ "x$(MULTILIB_DIRNAMES)" != x ] ; then \ + rm -rf $(MULTILIB_DIRNAMES); \ + else if [ "x$(MULTILIB_OPTIONS)" != x ] ; then \ + rm -rf `echo $(MULTILIB_OPTIONS) | sed -e 's/\// /g'`; \ + fi ; fi # Delete all files that users would normally create # while building and installing GCC.