From f8d630a0fa5dfdbf64ab875372fe83a3742926dc Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Thu, 22 Aug 2002 03:20:27 +0000 Subject: [PATCH] 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 --- Makefile.common | 2 +- Makefile.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.11.0