This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit b831e1192e45dac65c6a20427114c741a31adfdf Author: ligd <liguidi...@xiaomi.com> AuthorDate: Tue Jul 6 14:49:46 2021 +0800 Application.mk: correct depends file generated wrong: file.c => file.dir.o right: file.c => file.c.dir.o Change-Id: I5dff2c05c88d4c5d7678acdcce15e87caa23bdaf Signed-off-by: ligd <liguidi...@xiaomi.com> --- Application.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Application.mk b/Application.mk index 798120e..cb0688b 100644 --- a/Application.mk +++ b/Application.mk @@ -92,7 +92,6 @@ endif DEPPATH += --dep-path . DEPPATH += --obj-path . -DEPPATH += --obj-suffix $(SUFFIX)$(OBJEXT) VPATH += :. @@ -216,8 +215,8 @@ register:: endif .depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG) - $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(filter-out %$(CXXEXT) Makefile $(DEPCONFIG),$^) >Make.dep - $(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out %.c Makefile $(DEPCONFIG),$^) >>Make.dep + $(Q) $(MKDEP) $(DEPPATH) --obj-suffix .c$(SUFFIX)$(OBJEXT) "$(CC)" -- $(CFLAGS) -- $(filter-out %$(CXXEXT) Makefile $(DEPCONFIG),$^) >Make.dep + $(Q) $(MKDEP) $(DEPPATH) --obj-suffix $(CXXEXT)$(SUFFIX)$(OBJEXT) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out %.c Makefile $(DEPCONFIG),$^) >>Make.dep $(Q) touch $@ depend:: .depend