summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2002-12-04 17:08:15 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2002-12-04 17:08:15 +0000
commitab6d2934350d31b9625baf8389d5a6f2bedadc21 (patch)
treeece92c77bfd9fbe7afbf37de0f0e99ba51f3121f /Makefile.common
parent00af11738166f86cb7a1cd4a34109725218d69e6 (diff)
downloadllvm-ab6d2934350d31b9625baf8389d5a6f2bedadc21.tar.gz
llvm-ab6d2934350d31b9625baf8389d5a6f2bedadc21.tar.bz2
llvm-ab6d2934350d31b9625baf8389d5a6f2bedadc21.tar.xz
On `make clean', kill the core files produced, which are of the form:
core.### where ### is the process ID. We use core.[0-9][0-9]* to avoid killing core.c, core.cpp, and core.h files which may be part of benchmarks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 6d1698e2ba..d58b118741 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -470,7 +470,7 @@ $(BUILD_ROOT)/Debug/%.o: %.c $(BUILD_ROOT)/Debug/.dir
# 'make clean' nukes the tree
clean::
$(VERB) rm -rf $(BUILD_ROOT)/Debug $(BUILD_ROOT)/Release $(BUILD_ROOT)/Profile $(BUILD_ROOT)/Depend
- $(VERB) rm -f core *.o *.d *.so *~ *.flc
+ $(VERB) rm -f core core.[0-9][0-9]* *.o *.d *.so *~ *.flc
# If dependancies were generated for the file that included this file,
# include the dependancies now...