Fix clean command to clean in /shared when that is used.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Thu, 22 Aug 2002 03:20:27 +0000 (03:20 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Thu, 22 Aug 2002 03:20:27 +0000 (03:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3449 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index 60ce5f1f8914ffffc01c25d0370b2e0951dd0783..5770ada82720a19a418d39343e666e22629bdab9 100644 (file)
@@ -351,7 +351,7 @@ $(BUILD_ROOT)/Debug/%.o: %.cpp $(BUILD_ROOT)/Debug/.dir
 
 # Clean nukes the tree
 clean::
-       rm -rf Debug Release Depend
+       rm -rf $(BUILD_ROOT)/Debug $(BUILD_ROOT)/Release $(BUILD_ROOT)/Depend
        rm -f core *.o *.d *.so *~ *.flc
 
 # If dependancies were generated for the file that included this file,
index 60ce5f1f8914ffffc01c25d0370b2e0951dd0783..5770ada82720a19a418d39343e666e22629bdab9 100644 (file)
@@ -351,7 +351,7 @@ $(BUILD_ROOT)/Debug/%.o: %.cpp $(BUILD_ROOT)/Debug/.dir
 
 # Clean nukes the tree
 clean::
-       rm -rf Debug Release Depend
+       rm -rf $(BUILD_ROOT)/Debug $(BUILD_ROOT)/Release $(BUILD_ROOT)/Depend
        rm -f core *.o *.d *.so *~ *.flc
 
 # If dependancies were generated for the file that included this file,