summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-08-22 03:20:27 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-08-22 03:20:27 +0000
commitfddb117695527c0d18d14d533c27eb4e2d65c508 (patch)
tree99e1cc66960bd4140d878719564d3c389484fa6c
parentd25378de83a755ac6071d89250a95b43233840a5 (diff)
downloadbcm5719-llvm-fddb117695527c0d18d14d533c27eb4e2d65c508.tar.gz
bcm5719-llvm-fddb117695527c0d18d14d533c27eb4e2d65c508.zip
Fix clean command to clean in /shared when that is used.
llvm-svn: 3449
-rw-r--r--llvm/Makefile.common2
-rw-r--r--llvm/Makefile.rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.common b/llvm/Makefile.common
index 60ce5f1f891..5770ada8272 100644
--- a/llvm/Makefile.common
+++ b/llvm/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/llvm/Makefile.rules b/llvm/Makefile.rules
index 60ce5f1f891..5770ada8272 100644
--- a/llvm/Makefile.rules
+++ b/llvm/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,
OpenPOWER on IntegriCloud