This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new b64d353  Application.mk: fix generated empty Make.dep for SRCS with 
VPATH
b64d353 is described below

commit b64d3533badd64df3f1137d91541238e671951e8
Author: liuhaitao <[email protected]>
AuthorDate: Thu May 21 17:39:15 2020 +0800

    Application.mk: fix generated empty Make.dep for SRCS with VPATH
    
    https://github.com/apache/incubator-nuttx-apps/pull/250 resulted in 
generated empty
    Make.dep for SRCS with VPATH.
    
    Signed-off-by: liuhaitao <[email protected]>
---
 Application.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Application.mk b/Application.mk
index e56f316..ac6ceab 100644
--- a/Application.mk
+++ b/Application.mk
@@ -220,11 +220,11 @@ else
 context::
 endif
 
-.depend: Makefile $(wildcard $(SRCS))
+.depend: Makefile $(SRCS)
 ifeq ($(filter %$(CXXEXT),$(SRCS)),)
-       $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(filter-out 
Makefile,$^) >Make.dep
+       $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(filter-out 
Makefile,$(wildcard $^)) >Make.dep
 else
-       $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out 
Makefile,$^) >Make.dep
+       $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out 
Makefile,$(wildcard $^)) >Make.dep
 endif
        $(Q) touch $@
 

Reply via email to