aboutsummaryrefslogtreecommitdiff
path: root/Makefile.user
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.user')
-rw-r--r--Makefile.user4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.user b/Makefile.user
index 024b7736b9..2b1e4d154e 100644
--- a/Makefile.user
+++ b/Makefile.user
@@ -17,7 +17,9 @@ all: $(user-obj-y)
@true
clean:
- rm -f *.o *.d *.a *~
+ for d in . trace; do \
+ rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
+ done
# Include automatically generated dependency files
-include $(wildcard *.d */*.d)