Cross Reference: Makefile
xref: /src/games/phantasia/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/games/phantasia/
Makefile revision 1.10
11.10Sphil#	$NetBSD: Makefile,v 1.10 1997/06/30 19:33:34 phil Exp $
21.1Sjtc#	@(#)Makefile	8.1 (Berkeley) 5/31/93
31.1Sjtc
41.1SjtcPROG=	phantasia
51.1SjtcSRCS=	main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
61.1SjtcDPADD=	${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
71.1SjtcLDADD=	-lm -lcurses -ltermlib -lcompat
81.1SjtcHIDEGAME=hidegame
91.10SphilUSETBL=
101.2ScgdMAN=	phantasia.6
111.6SthorpejCLEANFILES+=map setup setup.o host_phantglobs.o
121.1Sjtc
131.2Scgdall: setup phantasia
141.1Sjtc
151.6Sthorpejsetup: host_phantglobs.o setup.o monsters.asc ${LIBM} 
161.6Sthorpej	${HOST_CC} host_phantglobs.o setup.o -o ${.TARGET} -lm
171.6Sthorpej
181.6Sthorpejhost_phantglobs.o: ${.CURDIR}/phantglobs.c
191.6Sthorpej	${HOST_COMPILE.c} -o host_phantglobs.o ${.CURDIR}/phantglobs.c
201.6Sthorpej
211.6Sthorpejsetup.o: ${.CURDIR}/setup.c
221.6Sthorpej	${HOST_COMPILE.c} ${.CURDIR}/setup.c
231.1Sjtc
241.9Scjsafterinstall: 
251.9Scjs	./setup -m ${.CURDIR}/monsters.asc
261.5Sjtk	chown games:bin ${DESTDIR}/var/games/phantasia/*
271.1Sjtc
281.1Sjtc# Make Phantasia map.  Change the map commands reflect your installation.
291.1Sjtc# PLOTDEVICE is used for plotting the map.  Change as appropriate.
301.1Sjtc
311.1Sjtcmap: map.c
321.1Sjtc	${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
331.1Sjtc	./map | plot > /dev/tty
341.1Sjtc
351.1Sjtc.include <bsd.prog.mk>
36

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