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
This commit is contained in:
patacongo
2012-11-17 18:54:53 +00:00
parent 43dda7996d
commit 26c9112ad2
31 changed files with 228 additions and 141 deletions
+7 -4
View File
@@ -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