-# from: @(#)Makefile 5.8 (Berkeley) 5/11/90
-# $Id: Makefile,v 1.5 1994/05/24 23:54:16 jtc Exp $
+# $NetBSD: Makefile,v 1.16 2018/06/10 17:55:11 christos Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= trek
SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \
getcodi.c getpar.c help.c impulse.c initquad.c kill.c klmove.c \
lose.c lrscan.c main.c move.c nova.c out.c phaser.c play.c ram.c \
ranf.c rest.c schedule.c score.c setup.c setwarp.c \
- shield.c snova.c srscan.c systemname.c torped.c utility.c \
- visual.c warp.c win.c cgetc.c
-MAN6= trek.0
+ shield.c snova.c srscan.c systemname.c torped.c \
+ visual.c warp.c win.c
+MAN= trek.6
DPADD= ${LIBM}
LDADD= -lm
HIDEGAME=hidegame
+SUBDIR.roff+=USD.doc
+
+COPTS.getpar.c += -Wno-format-nonliteral
+
.include <bsd.prog.mk>
+.include <bsd.subdir.mk>