diff options
author | bde <bde@FreeBSD.org> | 1994-12-22 17:20:52 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-12-22 17:20:52 +0000 |
commit | 7284bc5e130a566d8d7a3da539d2a7a2533e9d9d (patch) | |
tree | 85bdc62c1fcb84a3c1ea22ba3c46297c458cf589 | |
parent | 4022b9d7cdddf7f18debd4fab761daad71821177 (diff) | |
download | FreeBSD-src-7284bc5e130a566d8d7a3da539d2a7a2533e9d9d.zip FreeBSD-src-7284bc5e130a566d8d7a3da539d2a7a2533e9d9d.tar.gz |
Don't use `MKDEP= -p' even for the case of a single source file since we
always make an intermediate object file.
-rw-r--r-- | share/mk/bsd.prog.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 9903eed..85b971c 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.12 1994/11/13 21:05:27 phk Exp $ +# $Id: bsd.prog.mk,v 1.13 1994/11/14 04:28:44 bde Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -90,6 +90,8 @@ SRCS= ${PROG}.c ${PROG}: ${DPSRCS} ${SRCS} ${LIBC} ${DPADD} ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} ${.CURDIR}/${SRCS} \ ${LDDESTDIR} ${LDADD} + +MKDEP= -p .else # Always make an intermediate object file because: # - it saves time rebuilding when only the library has changed @@ -101,8 +103,6 @@ ${PROG}: ${DPSRCS} ${OBJS} ${LIBC} ${DPADD} ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDDESTDIR} ${LDADD} .endif -MKDEP= -p - .endif .if !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \ |