summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-06-02 14:56:51 +0000
committercgd <cgd@NetBSD.org>1993-06-02 14:56:51 +0000
commitef3308e9030c8fcc8bc762bce7370e643a97baf7 (patch)
treea66aefa39ab0a87a4dfde951cd8c6b1883ce5d8f
parent70d0145d0f61fb95ce547ae58e6734153e65d5a1 (diff)
add ability to specify c++ dependencies, by setting CFLAGS+=-+ for
the dependency make.
-rw-r--r--share/mk/bsd.prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 7bf76c23eae..9a4d9a83251 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -117,7 +117,7 @@ cleandir: _PROGSUBDIR
depend: .depend _PROGSUBDIR
.depend: ${SRCS}
.if defined(PROG)
- mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
+ mkdep ${MKDEP} ${CFLAGS:M-[ID+]*} ${.ALLSRC:M*.c}
.endif
.endif