Allow Makefiles to append to DEPENDSRCS.
Sponsored by: Dell EMC
This commit is contained in:
parent
7cc780d771
commit
649fed8e37
@ -178,7 +178,7 @@ DEPEND_MP?= -MP
|
|||||||
# Handle OBJS=../somefile.o hacks. Just replace '/' rather than use :T to
|
# Handle OBJS=../somefile.o hacks. Just replace '/' rather than use :T to
|
||||||
# avoid collisions.
|
# avoid collisions.
|
||||||
DEPEND_FILTER= C,/,_,g
|
DEPEND_FILTER= C,/,_,g
|
||||||
DEPENDSRCS= ${SRCS:M*.[cSC]} ${SRCS:M*.cxx} ${SRCS:M*.cpp} ${SRCS:M*.cc}
|
DEPENDSRCS+= ${SRCS:M*.[cSC]} ${SRCS:M*.cxx} ${SRCS:M*.cpp} ${SRCS:M*.cc}
|
||||||
.if !empty(DEPENDSRCS)
|
.if !empty(DEPENDSRCS)
|
||||||
DEPENDOBJS+= ${DEPENDSRCS:${OBJS_SRCS_FILTER:ts:}:S,$,.o,}
|
DEPENDOBJS+= ${DEPENDSRCS:${OBJS_SRCS_FILTER:ts:}:S,$,.o,}
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user