From ef3308e9030c8fcc8bc762bce7370e643a97baf7 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 2 Jun 1993 14:56:51 +0000 Subject: [PATCH] add ability to specify c++ dependencies, by setting CFLAGS+=-+ for the dependency make. --- share/mk/bsd.prog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 7bf76c23eaea..9a4d9a83251f 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