Most of the changes needed to support Windows native clean; distclean is has a problem

git-svn-id: http://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 cc099195b8
commit d4dca58d93
142 changed files with 861 additions and 616 deletions
+6 -5
View File
@@ -73,21 +73,22 @@ $(COBJS): %$(OBJEXT): %.c
.built: $(OBJS)
$(call ARCHIVE, $(BIN), $(OBJS))
@touch .built
$(Q) touch .built
context:
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: .depend
clean:
@rm -f *.o *~ .*.swp .built
$(call DELFILE .built)
$(call CLEAN)
distclean: clean
@rm -f Make.dep .depend
$(call DELFILE Make.dep)
$(call DELFILE .depend)
-include Make.dep