]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - phantasia/Makefile
specify man pages the new way.
[bsdgames-darwin.git] / phantasia / Makefile
1 # @(#)Makefile 8.1 (Berkeley) 5/31/93
2
3 PROG= phantasia
4 SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
5 DPADD= ${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
6 LDADD= -lm -lcurses -ltermlib -lcompat
7 HIDEGAME=hidegame
8 MAN= phantasia.6
9 CLEANFILES+=map setup setup.o
10
11 all: setup phantasia
12
13 setup: phantglobs.o setup.o monsters.asc ${LIBM}
14 ${CC} phantglobs.o setup.o -o ${.TARGET} -lm
15
16 beforeinstall:
17 ./setup -m ${.CURDIR}/monsters.asc
18 chown games.bin /var/games/phantasia/*
19
20 # Make Phantasia map. Change the map commands reflect your installation.
21 # PLOTDEVICE is used for plotting the map. Change as appropriate.
22
23 map: map.c
24 ${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
25 ./map | plot > /dev/tty
26
27 # XXX this rule shouldn't be here.
28 phantasia.cat6: phantasia.6
29 tbl ${.CURDIR}/phantasia.6 | nroff -man > ${.TARGET}
30
31 .include <bsd.prog.mk>