summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-07-07 08:18:52 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-07-07 08:18:52 +0000
commit5c019b867efe660aa27acf2fce98e99dedfd908e (patch)
treedacd5e119da03243d95556a40c24ca9dc4232023 /sys/arch
parent1426fb24c6470d4de8f894b9c5df0b3c650cde45 (diff)
only depend SFILES if there are some (to avoid a cc warning: no input files)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/pmax/conf/Makefile.pmax2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax
index 911da715c68..c67aad8f3d3 100644
--- a/sys/arch/pmax/conf/Makefile.pmax
+++ b/sys/arch/pmax/conf/Makefile.pmax
@@ -179,7 +179,9 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore.S ${PMAX}/pmax/fp.S
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore_machdep.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
+.if ${SFILES} != ""
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+.endif
# depend on root or device configuration
autoconf.o conf.o: Makefile