Revert "Don't generate .depend anymore"

This reverts commit 79af7fbf4e.

Because:

* btashton reported some issues in local builds:

  https://github.com/apache/incubator-nuttx/pull/603#issuecomment-602264860

* this might be related to the current CI breakage:

  > /bin/sh: 1: /__w/incubator-nuttx/incubator-nuttx/nuttx/tools/mkdeps: not found
This commit is contained in:
YAMAMOTO Takashi
2020-03-23 11:44:03 +09:00
committed by Xiang Xiao
parent 79af7fbf4e
commit 1ffa009c8b
231 changed files with 460 additions and 155 deletions
+5 -3
View File
@@ -104,10 +104,11 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
Make.dep: Makefile $(SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >$@
.depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: Make.dep
depend: .depend
clean:
$(call DELFILE, $(BIN))
@@ -115,5 +116,6 @@ clean:
distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep