Cross Reference: Makefile
xref: /src/games/phantasia/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/games/phantasia/
Makefile revision 1.16
11.16Sjtc#	$NetBSD: Makefile,v 1.16 1998/02/18 22:37:32 jtc Exp $
21.1Sjtc#	@(#)Makefile	8.1 (Berkeley) 5/31/93
31.1Sjtc
41.1SjtcPROG=	phantasia
51.12SlukemSRCS=	fight.c gamesupport.c interplayer.c io.c main.c misc.c phantglobs.c
61.12Slukem
71.16SjtcDPADD=	${LIBM} ${LIBCURSES}
81.16SjtcLDADD=	-lm -lcurses
91.1SjtcHIDEGAME=hidegame
101.13SmrgSETGIDGAME=yes
111.10SphilUSETBL=
121.2ScgdMAN=	phantasia.6
131.6SthorpejCLEANFILES+=map setup setup.o host_phantglobs.o
141.1Sjtc
151.2Scgdall: setup phantasia
161.1Sjtc
171.6Sthorpejsetup: host_phantglobs.o setup.o monsters.asc ${LIBM} 
181.6Sthorpej	${HOST_CC} host_phantglobs.o setup.o -o ${.TARGET} -lm
191.6Sthorpej
201.6Sthorpejhost_phantglobs.o: ${.CURDIR}/phantglobs.c
211.6Sthorpej	${HOST_COMPILE.c} -o host_phantglobs.o ${.CURDIR}/phantglobs.c
221.6Sthorpej
231.6Sthorpejsetup.o: ${.CURDIR}/setup.c
241.6Sthorpej	${HOST_COMPILE.c} ${.CURDIR}/setup.c
251.1Sjtc
261.9Scjsafterinstall: 
271.9Scjs	./setup -m ${.CURDIR}/monsters.asc
281.14Smrg	chown games:games ${DESTDIR}/var/games/phantasia/*
291.1Sjtc
301.1Sjtc# Make Phantasia map.  Change the map commands reflect your installation.
311.1Sjtc# PLOTDEVICE is used for plotting the map.  Change as appropriate.
321.1Sjtc
331.1Sjtcmap: map.c
341.1Sjtc	${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
351.1Sjtc	./map | plot > /dev/tty
361.1Sjtc
371.1Sjtc.include <bsd.prog.mk>
38

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