]> gcc.gnu.org Git - gcc.git/commitdiff
(clean): Remove multilib build dirs.
authorDoug Evans <dje@gnu.org>
Wed, 20 Jul 1994 02:17:55 +0000 (02:17 +0000)
committerDoug Evans <dje@gnu.org>
Wed, 20 Jul 1994 02:17:55 +0000 (02:17 +0000)
From-SVN: r7784

gcc/Makefile.in

index f8062f7b9b4f4647e2dae0ea285cefd58dd66ed8..2a6207866108a9ec8b310428c0c66e0f6b2285e2 100644 (file)
@@ -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.
This page took 0.080186 seconds and 5 git commands to generate.