summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common2
-rw-r--r--Makefile.rules2
2 files changed, 2 insertions, 2 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...
diff --git a/Makefile.rules b/Makefile.rules
index 6d1698e2ba..d58b118741 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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...