From 1ea7f1a6440429085d3deeaeb2cad0b475501605 Mon Sep 17 00:00:00 2001 From: dogcow Date: Sat, 17 Nov 2007 00:10:55 +0000 Subject: A terrible kludge: don't compile/link malloc.c if arch=sun2. My apologies to the legions of sun2 monop fans who will probably be unable to save/restore games. --- monop/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'monop/Makefile') diff --git a/monop/Makefile b/monop/Makefile index 01d6dbab..da9eb50a 100644 --- a/monop/Makefile +++ b/monop/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.27 2003/11/16 14:14:18 lukem Exp $ +# $NetBSD: Makefile,v 1.28 2007/11/17 00:10:55 dogcow Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include PROG= monop -SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c malloc.c misc.c \ +SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c \ morg.c print.c prop.c rent.c roll.c spec.c trade.c MAN= monop.6 HIDEGAME=hidegame @@ -14,6 +14,10 @@ FILES=cards.pck FILESDIR=/usr/share/games .endif +.if (${MACHINE} != "sun2") +SRCS+= malloc.c +.endif + realall: ${FILES} initdeck: initdeck.lo -- cgit v1.2.3-56-ge451