diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-19 00:17:19 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-19 00:17:19 +0000 |
commit | f256cc6dab7eb88f599b0078e066c6760ea16e87 (patch) | |
tree | 26d531ea5a3e3adf1581f83c580a38e4080e872f /sys/arch/zaurus/conf | |
parent | 9d99ed0e9608ba9fb6d73e2646a60e701654622e (diff) |
Only run mkdep on SFILES if there is something in it. pointed out by todd@
Diffstat (limited to 'sys/arch/zaurus/conf')
-rw-r--r-- | sys/arch/zaurus/conf/Makefile.zaurus | 4 |
1 files changed, 3 insertions, 1 deletions
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} |