diff options
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.dep.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 55cce19552b..6488a136a54 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.dep.mk,v 1.7 2007/11/03 15:14:32 espie Exp $ +# $OpenBSD: bsd.dep.mk,v 1.8 2008/03/24 16:39:13 espie Exp $ # $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $ # some of the rules involve .h sources, so remove them from mkdep line @@ -7,7 +7,7 @@ depend: beforedepend .depend subdirdepend afterdepend .ORDER: beforedepend .depend subdirdepend afterdepend subdirdepend: _SUBDIRUSE -. if defined(SRCS) +. if defined(SRCS) && !empty(SRCS) .depend: ${SRCS} ${_LEXINTM} ${_YACCINTM} @rm -f .depend @files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \ |