|
|
1.1 root 1: # @(#)Makefile 5.9 (Berkeley) 5/11/90
2:
3: PROG= phantasia
4: CFLAGS+=-DBSD42
5: SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
6: MAN6= phantasia.0
7: DPADD= ${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
8: LDADD= -lm -lcurses -ltermlib -lcompat
9: HIDEGAME=hidegame
10:
11: phantasia.0: phantasia.6
12: tbl -TX ${.CURDIR}/phantasia.6 | nroff -h -man > ${.TARGET}
13:
14: all: setup
15:
16: setup: phantglobs.o setup.o monsters.asc ${LIBC} ${LIBM}
17: ${CC} phantglobs.o setup.o -o ${.TARGET} -lm
18:
19: beforeinstall:
20: (cd ${.CURDIR}; obj/setup)
21: chown games.bin /var/games/phantasia/*
22:
23: # Make Phantasia map. Change the map commands reflect your installation.
24: # PLOTDEVICE is used for plotting the map. Change as appropriate.
25:
26: map: map.c
27: ${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
28: ./map | plot > /dev/tty
29:
30: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.