Cross Reference: Makefile
xref: /src/games/phantasia/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/games/phantasia/
Makefile revision 1.2
11.1Sjtc#	@(#)Makefile	8.1 (Berkeley) 5/31/93
21.1Sjtc
31.1SjtcPROG=	phantasia
41.1SjtcSRCS=	main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
51.1SjtcDPADD=	${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
61.1SjtcLDADD=	-lm -lcurses -ltermlib -lcompat
71.1SjtcHIDEGAME=hidegame
81.2ScgdMAN=	phantasia.6
91.1SjtcCLEANFILES+=map setup setup.o
101.1Sjtc
111.2Scgdall: setup phantasia
121.1Sjtc
131.1Sjtcsetup: phantglobs.o setup.o monsters.asc ${LIBM} 
141.1Sjtc	${CC} phantglobs.o setup.o -o ${.TARGET} -lm
151.1Sjtc
161.1Sjtcbeforeinstall: 
171.1Sjtc	./setup -m ${.CURDIR}/monsters.asc
181.1Sjtc	chown games.bin /var/games/phantasia/*
191.1Sjtc
201.1Sjtc# Make Phantasia map.  Change the map commands reflect your installation.
211.1Sjtc# PLOTDEVICE is used for plotting the map.  Change as appropriate.
221.1Sjtc
231.1Sjtcmap: map.c
241.1Sjtc	${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
251.1Sjtc	./map | plot > /dev/tty
261.1Sjtc
271.2Scgd# XXX this rule shouldn't be here.
281.2Scgdphantasia.cat6: phantasia.6
291.1Sjtc	tbl ${.CURDIR}/phantasia.6 | nroff -man > ${.TARGET}
301.1Sjtc
311.1Sjtc.include <bsd.prog.mk>
32

Indexes created Mon Jan 26 14:10:17 GMT 2026