Home | History | Annotate | Line # | Download | only in phantasia
Makefile revision 1.10
      1  1.10     phil #	$NetBSD: Makefile,v 1.10 1997/06/30 19:33:34 phil Exp $
      2   1.1      jtc #	@(#)Makefile	8.1 (Berkeley) 5/31/93
      3   1.1      jtc 
      4   1.1      jtc PROG=	phantasia
      5   1.1      jtc SRCS=	main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
      6   1.1      jtc DPADD=	${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
      7   1.1      jtc LDADD=	-lm -lcurses -ltermlib -lcompat
      8   1.1      jtc HIDEGAME=hidegame
      9  1.10     phil USETBL=
     10   1.2      cgd MAN=	phantasia.6
     11   1.6  thorpej CLEANFILES+=map setup setup.o host_phantglobs.o
     12   1.1      jtc 
     13   1.2      cgd all: setup phantasia
     14   1.1      jtc 
     15   1.6  thorpej setup: host_phantglobs.o setup.o monsters.asc ${LIBM} 
     16   1.6  thorpej 	${HOST_CC} host_phantglobs.o setup.o -o ${.TARGET} -lm
     17   1.6  thorpej 
     18   1.6  thorpej host_phantglobs.o: ${.CURDIR}/phantglobs.c
     19   1.6  thorpej 	${HOST_COMPILE.c} -o host_phantglobs.o ${.CURDIR}/phantglobs.c
     20   1.6  thorpej 
     21   1.6  thorpej setup.o: ${.CURDIR}/setup.c
     22   1.6  thorpej 	${HOST_COMPILE.c} ${.CURDIR}/setup.c
     23   1.1      jtc 
     24   1.9      cjs afterinstall: 
     25   1.9      cjs 	./setup -m ${.CURDIR}/monsters.asc
     26   1.5      jtk 	chown games:bin ${DESTDIR}/var/games/phantasia/*
     27   1.1      jtc 
     28   1.1      jtc # Make Phantasia map.  Change the map commands reflect your installation.
     29   1.1      jtc # PLOTDEVICE is used for plotting the map.  Change as appropriate.
     30   1.1      jtc 
     31   1.1      jtc map: map.c
     32   1.1      jtc 	${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
     33   1.1      jtc 	./map | plot > /dev/tty
     34   1.1      jtc 
     35   1.1      jtc .include <bsd.prog.mk>
     36