diff options
Diffstat (limited to 'nuttx/tools/Config.mk')
-rw-r--r-- | nuttx/tools/Config.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk index b7f8d9bbe..f05933f1a 100644 --- a/nuttx/tools/Config.mk +++ b/nuttx/tools/Config.mk @@ -154,10 +154,12 @@ define ARCHIVE endef endif -define CLEAN ifeq ($(CONFIG_WINDOWS_NATIVE),y) +define CLEAN $(Q) rm -f *.o *.a +endef else +define CLEAN $(Q) rm -f *.o *.a *~ .*.swp -endif endef +endif |