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/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/arch/z16/src/Makefile b/nuttx/arch/z16/src/Makefile
index 44f96d03d..d3f581998 100644
--- a/nuttx/arch/z16/src/Makefile
+++ b/nuttx/arch/z16/src/Makefile
@@ -137,16 +137,20 @@ clean:
$(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
fi
- $(Q) rm -f libarch$(LIBEXT) *~ .*.swp
ifeq ($(COMPILER),zneocc.exe)
- $(Q) rm -f nuttx.linkcmd *.asm *.tmp *.map
+ $(call DELFILE nuttx.linkcmd)
+ $(call DELFILE *.asm)
+ $(call DELFILE *.tmp)
+ $(call DELFILE *.map)
endif
+ $(call DELFILE libarch$(LIBEXT))
$(call CLEAN)
distclean: clean
$(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi
- $(Q) rm -f Make.dep .depend
+ $(call DELFILE Make.dep)
+ $(call DELFILE .depend)
-include Make.dep