-# from: @(#)Makefile 5.8 (Berkeley) 5/11/90
-# $Id: Makefile,v 1.4 1994/05/23 05:37:24 cgd Exp $
+# $NetBSD: Makefile,v 1.15 2014/07/05 19:22:03 dholland 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
-DPADD= ${LIBM} ${LIBCOMPAT}
-LDADD= -lm -lcompat
+ 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+=USD.doc
+
+COPTS.getpar.c += -Wno-format-nonliteral
+
.include <bsd.prog.mk>
+.include <bsd.subdir.mk>