From 5b7fc9054f148aadb5b501dd6d5a818bd6101383 Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 8 Feb 2004 22:14:27 +0000 Subject: Fix race in parallel make when creating multiple targets in one operation. --- phantasia/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'phantasia/Makefile') diff --git a/phantasia/Makefile b/phantasia/Makefile index 45ce1e41..1eb58c87 100644 --- a/phantasia/Makefile +++ b/phantasia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2003/11/16 14:14:18 lukem Exp $ +# $NetBSD: Makefile,v 1.33 2004/02/08 22:14:27 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include @@ -26,13 +26,16 @@ FILES+=${file} .endif .endfor -CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES} +CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES} files.stamp realall: ${FILES} -${FILES}: setup monsters.asc +${FILES}: files.stamp +files.stamp: setup monsters.asc ${_MKMSG_CREATE} ${FILES} + rm -f ${.TARGET} ./setup -m ${.CURDIR}/monsters.asc + touch ${.TARGET} setup: host_phantglobs.lo setup.lo ${LIBM} ${_MKTARGET_LINK} -- cgit v1.2.3-56-ge451