apps/wireless/wapi: Correct an error in dependency generation.

This commit is contained in:
Gregory Nutt 2017-04-25 11:16:51 -06:00
parent ad608c705c
commit 1c05e26ef6

View File

@ -54,6 +54,7 @@ CSRCS =
MAINSRC =
VPATH = .
DEPPATH = --dep-path .
include $(APPDIR)/wireless/wapi/src/Make.defs
@ -87,8 +88,6 @@ endif
CONFIG_WAPI_PROGNAME ?= wapi$(EXEEXT)
PROGNAME = $(CONFIG_WAPI_PROGNAME)
ROOTDEPPATH = --dep-path .
# Common build
all: .built
@ -131,7 +130,7 @@ endif
# Create dependencies
.depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: .depend