]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - monop/Makefile
Tweak for cross-compilation.
[bsdgames-darwin.git] / monop / Makefile
1 # from: @(#)Makefile 5.8 (Berkeley) 9/2/92
2 # $Id: Makefile,v 1.7 1993/08/10 02:44:47 mycroft Exp $
3
4 PROG= monop
5 SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \
6 print.c prop.c rent.c roll.c spec.c trade.c
7 MAN6= monop.0
8 DPADD+= ${LIBCOMPAT}
9 LDADD+= -lcompat
10 HIDEGAME=hidegame
11 CLEANFILES+=initdeck cards.pck
12
13 all: ${PROG} ${MAN6}
14
15 monop: cards.pck
16
17 cards.pck: initdeck
18 ./initdeck ${.CURDIR}/cards.inp
19
20 initdeck: initdeck.c
21 ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD}
22
23 beforeinstall:
24 install -c -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \
25 ${DESTDIR}/usr/share/games
26
27 .include <bsd.prog.mk>