1 # $NetBSD: Makefile,v 1.5 2020/11/11 20:04:02 christos Exp $
8 SRCS= bang.c init.c intrp.c move.c object.c play.c score.c sig.c term.c \
9 them.c us.c util.c version.c warp.c weapon.c
11 DPADD= ${LIBTERMLIB} ${LIBM}
14 CPPFLAGS+=-DHAVETERMLIB
16 CLEANFILES+=sm sm.lo smap.0 smap.1 smap.2 smap.3 smap.4 smap.5 smap.6 smap.7
24 cat ${.CURDIR}/warp.man > ${.TARGET}
26 DPSRCS+=smap.0 smap.1 smap.2 smap.3 smap.4 smap.5 smap.6 smap.7
30 ./sm < ${.CURDIR}/smp.0 > ${.TARGET}
34 ./sm < ${.CURDIR}/smp.1 > ${.TARGET}
38 ./sm < ${.CURDIR}/smp.2 > ${.TARGET}
42 ./sm < ${.CURDIR}/smp.3 > ${.TARGET}
46 ./sm < ${.CURDIR}/smp.4 > ${.TARGET}
50 ./sm < ${.CURDIR}/smp.5 > ${.TARGET}
54 ./sm < ${.CURDIR}/smp.6 > ${.TARGET}
58 ./sm < ${.CURDIR}/smp.7 > ${.TARGET}
62 ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
64 .if ${MKSHARE} != "no"
65 FILES=smap.0 smap.1 smap.2 smap.3 smap.4 smap.5 smap.6 smap.7
66 FILES+=warp.doc warp.news README
67 FILESDIR=/usr/share/games/warp
70 .include <bsd.prog.mk>