summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z16/src/Makefile')
-rw-r--r--nuttx/arch/z16/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/Makefile b/nuttx/arch/z16/src/Makefile
index 2ce3a3013..cd0692447 100644
--- a/nuttx/arch/z16/src/Makefile
+++ b/nuttx/arch/z16/src/Makefile
@@ -99,8 +99,8 @@ clean:
@if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
fi
- @rm -f libarch$(LIBEXT) *~
- @if [ ! -z "$(OBJEXT)" ]; then rm -f *$(OBJEXT); fi
+ @rm -f libarch$(LIBEXT) *~ .*.swp
+ $(call CLEAN)
distclean: clean
@if [ -e board/Makefile ]; then \