summaryrefslogtreecommitdiff
path: root/nuttx/net
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net')
-rw-r--r--nuttx/net/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/Makefile b/nuttx/net/Makefile
index 5124a64ad..42a02fdf0 100644
--- a/nuttx/net/Makefile
+++ b/nuttx/net/Makefile
@@ -94,9 +94,9 @@ endif
depend: .depend
clean:
- rm -f $(BIN) *.o *.obj *.rel *.asm *.lst *.sym *.adb *~
- rm -f uip/*~
- if [ ! -z "$(OBJEXT)" ]; then rm -f *$(OBJEXT); fi
+ @rm -f $(BIN) *~ .*.swp
+ @rm -f uip/*~ uip/.*.swp
+ $(call CLEAN)
distclean: clean
rm -f Make.dep .depend