]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - monop/Makefile
Use .OBJDIR for auxiliary programs.
[bsdgames-darwin.git] / monop / Makefile
1 # from: @(#)Makefile 5.8 (Berkeley) 9/2/92
2 # $Id: Makefile,v 1.10 1994/01/04 21:41:36 pk 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 monop: cards.pck
14
15 cards.pck: initdeck
16 ${.OBJDIR}/initdeck ${.CURDIR}/cards.inp
17
18 initdeck: initdeck.c
19 ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD}
20
21 beforeinstall:
22 install -c -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \
23 ${DESTDIR}/usr/share/games
24
25 .include <bsd.prog.mk>