Return to Makefile CVS log | Up to [cvs.NetBSD.org] / src / games / monop |
File: [cvs.NetBSD.org] / src / games / monop / Makefile (download)
Revision 1.28, Sat Nov 17 00:10:55 2007 UTC (16 years, 5 months ago) by dogcow
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. |
# $NetBSD: Makefile,v 1.28 2007/11/17 00:10:55 dogcow Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include <bsd.own.mk> PROG= monop 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 CLEANFILES+=initdeck initdeck.lo cards.pck .if ${MKSHARE} != "no" FILES=cards.pck FILESDIR=/usr/share/games .endif .if (${MACHINE} != "sun2") SRCS+= malloc.c .endif realall: ${FILES} initdeck: initdeck.lo ${_MKTARGET_LINK} ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} cards.pck: initdeck ${_MKTARGET_CREATE} ./initdeck ${.CURDIR}/cards.inp .include <bsd.prog.mk>