Makefile revision 1.12
11.12Slukem# $NetBSD: Makefile,v 1.12 1997/10/13 02:18:06 lukem 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.1SjtcDPADD= ${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT} 81.1SjtcLDADD= -lm -lcurses -ltermlib -lcompat 91.1SjtcHIDEGAME=hidegame 101.10SphilUSETBL= 111.2ScgdMAN= phantasia.6 121.6SthorpejCLEANFILES+=map setup setup.o host_phantglobs.o 131.1Sjtc 141.2Scgdall: setup phantasia 151.1Sjtc 161.6Sthorpejsetup: host_phantglobs.o setup.o monsters.asc ${LIBM} 171.6Sthorpej ${HOST_CC} host_phantglobs.o setup.o -o ${.TARGET} -lm 181.6Sthorpej 191.6Sthorpejhost_phantglobs.o: ${.CURDIR}/phantglobs.c 201.6Sthorpej ${HOST_COMPILE.c} -o host_phantglobs.o ${.CURDIR}/phantglobs.c 211.6Sthorpej 221.6Sthorpejsetup.o: ${.CURDIR}/setup.c 231.6Sthorpej ${HOST_COMPILE.c} ${.CURDIR}/setup.c 241.1Sjtc 251.9Scjsafterinstall: 261.9Scjs ./setup -m ${.CURDIR}/monsters.asc 271.5Sjtk chown games:bin ${DESTDIR}/var/games/phantasia/* 281.1Sjtc 291.1Sjtc# Make Phantasia map. Change the map commands reflect your installation. 301.1Sjtc# PLOTDEVICE is used for plotting the map. Change as appropriate. 311.1Sjtc 321.1Sjtcmap: map.c 331.1Sjtc ${CC} -O ${.CURDIR}/map.c -lplot -o ${.TARGET} 341.1Sjtc ./map | plot > /dev/tty 351.1Sjtc 361.1Sjtc.include <bsd.prog.mk> 37