From f256cc6dab7eb88f599b0078e066c6760ea16e87 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Sat, 19 Nov 2005 00:17:19 +0000 Subject: Only run mkdep on SFILES if there is something in it. pointed out by todd@ --- sys/arch/zaurus/conf/Makefile.zaurus | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/zaurus/conf/Makefile.zaurus') diff --git a/sys/arch/zaurus/conf/Makefile.zaurus b/sys/arch/zaurus/conf/Makefile.zaurus index 9414a799de8..ed88ca73d31 100644 --- a/sys/arch/zaurus/conf/Makefile.zaurus +++ b/sys/arch/zaurus/conf/Makefile.zaurus @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.zaurus,v 1.3 2005/05/09 10:04:38 espie Exp $ +# $OpenBSD: Makefile.zaurus,v 1.4 2005/11/19 00:17:18 drahn Exp $ # $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $ # Makefile for OpenBSD @@ -176,7 +176,9 @@ depend:: .depend .depend: ${SRCS} assym.h param.c ${APMINC} ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ARM}/arm/locore.S ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} +.if ${SFILES} != "" ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} +.endif cat ${ARM}/arm/genassym.cf ${ARM}/footbridge/genassym.cf | \ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} -- cgit v1.2.3