[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / phantasia

Annotation of src/games/phantasia/Makefile, Revision 1.2

1.1       jtc         1: #      @(#)Makefile    8.1 (Berkeley) 5/31/93
                      2:
                      3: PROG=  phantasia
                      4: SRCS=  main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
                      5: DPADD= ${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
                      6: LDADD= -lm -lcurses -ltermlib -lcompat
                      7: HIDEGAME=hidegame
1.2     ! cgd         8: MAN=   phantasia.6
1.1       jtc         9: CLEANFILES+=map setup setup.o
                     10:
1.2     ! cgd        11: all: setup phantasia
1.1       jtc        12:
                     13: setup: phantglobs.o setup.o monsters.asc ${LIBM}
                     14:        ${CC} phantglobs.o setup.o -o ${.TARGET} -lm
                     15:
                     16: beforeinstall:
                     17:        ./setup -m ${.CURDIR}/monsters.asc
                     18:        chown games.bin /var/games/phantasia/*
                     19:
                     20: # Make Phantasia map.  Change the map commands reflect your installation.
                     21: # PLOTDEVICE is used for plotting the map.  Change as appropriate.
                     22:
                     23: map: map.c
                     24:        ${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET}
                     25:        ./map | plot > /dev/tty
                     26:
1.2     ! cgd        27: # XXX this rule shouldn't be here.
        !            28: phantasia.cat6: phantasia.6
1.1       jtc        29:        tbl ${.CURDIR}/phantasia.6 | nroff -man > ${.TARGET}
                     30:
                     31: .include <bsd.prog.mk>

CVSweb <webmaster@jp.NetBSD.org>