summaryrefslogtreecommitdiff
path: root/nuttx/libc/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
commita444a16f4746959a1332cb21749fbdf9a31df091 (patch)
treed220ebef3bfba64591298b4c51a0c0dd6e10ae0b /nuttx/libc/Makefile
parentb023c1b10ea54b6fc54f0ec747c766187c58190f (diff)
downloadpx4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.gz
px4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.bz2
px4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.zip
Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/Makefile')
-rw-r--r--nuttx/libc/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/libc/Makefile b/nuttx/libc/Makefile
index 313629f2b..e7dec4776 100644
--- a/nuttx/libc/Makefile
+++ b/nuttx/libc/Makefile
@@ -114,7 +114,7 @@ else
$(Q) ( if [ -f .userlib ]; then rm -f *$(OBJEXT); fi )
endif
endif
- $(Q) rm -f .userlib *~ .*.swp
+ $(call DELFILE .userlib)
# Clean kernel-mode temporary files (retaining the KBIN binary)
@@ -126,17 +126,20 @@ else
$(Q) ( if [ -f .kernlib ]; then rm -f *$(OBJEXT); fi )
endif
endif
- $(Q) rm -f .kernlib *~ .*.swp
+ $(call DELFILE .kernlib)
# Really clean everything
clean: uclean kclean
- $(Q) rm -f $(BIN) $(UBIN) $(KBIN) *~ .*.swp
+ $(call DELFILE $(BIN))
+ $(call DELFILE $(UBIN))
+ $(call DELFILE $(KBIN))
$(call CLEAN)
# Deep clean -- removes all traces of the configuration
distclean: clean
- $(Q) rm -f Make.dep .depend
+ $(call DELFILE Make.dep)
+ $(call DELFILE .depend)
-include Make.dep