summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit8b6e7d50b7a7545b912490d94b05f677700b1e3c (patch)
tree649daf13f752b53a1dbf7ba51de6ed03c50cbcc0 /llvm/Makefile.common
parent4bc49fa46efc4b8c9f42d78dd106f2f2216cca11 (diff)
downloadbcm5719-llvm-8b6e7d50b7a7545b912490d94b05f677700b1e3c.tar.gz
bcm5719-llvm-8b6e7d50b7a7545b912490d94b05f677700b1e3c.zip
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. llvm-svn: 4913
Diffstat (limited to 'llvm/Makefile.common')
-rw-r--r--llvm/Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile.common b/llvm/Makefile.common
index 6d1698e2bab..d58b1187417 100644
--- a/llvm/Makefile.common
+++ b/llvm/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...
OpenPOWER on IntegriCloud