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