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
This commit is contained in:
Misha Brukman 2002-12-04 17:08:15 +00:00
parent 4bc49fa46e
commit 8b6e7d50b7
2 changed files with 2 additions and 2 deletions

View File

@ -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...

View File

@ -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...