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 60ce5f1f89..5770ada827 100644
--- a/Makefile.common
+++ b/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/Makefile.rules b/Makefile.rules
index 60ce5f1f89..5770ada827 100644
--- a/Makefile.rules
+++ b/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,