From 0fe18a041ae051737002e9c3c599da5048f7fa37 Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 15 Jan 2002 17:41:41 +0000 Subject: [PATCH] Remove instbin.cache from dependency lists, since crunchgen is now run unconditionally. Avoid running the crunchgen command multiple times for each dependent target by marking only one target (instbin.mk) for unconditional re-make. --- distrib/miniroot/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/distrib/miniroot/Makefile b/distrib/miniroot/Makefile index 0782ff76d6ec..92deecd5cebc 100644 --- a/distrib/miniroot/Makefile +++ b/distrib/miniroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2002/01/07 12:56:42 shin Exp $ +# $NetBSD: Makefile,v 1.44 2002/01/15 17:41:41 pk Exp $ .include "../../Makefile.inc" .include @@ -69,10 +69,11 @@ unconfig: ${CBIN}.conf: ${LISTS} awk -f ${.CURDIR}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf -${CBIN}.mk ${CBIN}.cache ${CBIN}.c! ${CRUNCHCONF} +${CBIN}.mk: .EXEC +${CBIN}.mk ${CBIN}.c: ${CRUNCHCONF} ${CRUNCHGEN} -f -D ${.CURDIR}/../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} -${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c +${CBIN}: ${CBIN}.mk ${CBIN}.c ${MAKE} -f ${CBIN}.mk all .ifndef RELEASEDIR