From: Vikram S. Adve Date: Thu, 22 Aug 2002 03:20:27 +0000 (+0000) Subject: Fix clean command to clean in /shared when that is used. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f8d630a0fa5dfdbf64ab875372fe83a3742926dc;p=oota-llvm.git Fix clean command to clean in /shared when that is used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3449 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.common b/Makefile.common index 60ce5f1f891..5770ada8272 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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, diff --git a/Makefile.rules b/Makefile.rules index 60ce5f1f891..5770ada8272 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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,