summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/Makefile')
-rw-r--r--nuttx/arch/sim/src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/sim/src/Makefile b/nuttx/arch/sim/src/Makefile
index a5d6100a3..5abd6ce4f 100644
--- a/nuttx/arch/sim/src/Makefile
+++ b/nuttx/arch/sim/src/Makefile
@@ -214,14 +214,16 @@ clean: cleanrel
$(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
fi
- $(Q) rm -f nuttx.rel libarch$(LIBEXT) *~ .*.swp
+ $(call DELFILE nuttx.rel)
+ $(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)
$(Q) rm -rf GNU
-include Make.dep