do .S files, too

This commit is contained in:
cgd 1993-12-05 02:42:42 +00:00
parent f00e1cfe6a
commit 8389bbb900

View File

@ -1,4 +1,4 @@
# $Id: bsd.dep.mk,v 1.5 1993/09/05 17:46:15 mycroft Exp $ # $Id: bsd.dep.mk,v 1.6 1993/12/05 02:42:42 cgd Exp $
# some of the rules involve .h sources, so remove them from mkdep line # some of the rules involve .h sources, so remove them from mkdep line
.if !target(depend) .if !target(depend)
@ -6,8 +6,8 @@ depend: beforedepend .depend afterdepend
.if defined(SRCS) .if defined(SRCS)
.depend: ${SRCS} .depend: ${SRCS}
rm -f .depend rm -f .depend
files="${.ALLSRC:M*.s}"; \ files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \
if [ "$$files" != "" ]; then \ if [ "$$files" != " " ]; then \
mkdep -a ${MKDEP} ${CFLAGS:M-[ID]*} ${AINC} $$files; \ mkdep -a ${MKDEP} ${CFLAGS:M-[ID]*} ${AINC} $$files; \
fi fi
files="${.ALLSRC:M*.c}"; \ files="${.ALLSRC:M*.c}"; \