-# $NetBSD: Makefile,v 1.7 1995/04/22 10:58:17 cgd Exp $
+# $NetBSD: Makefile,v 1.16 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= trek
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
+ 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
-.if make(install)
-SUBDIR+= USD.doc
-.endif
+SUBDIR.roff+=USD.doc
+
+COPTS.getpar.c += -Wno-format-nonliteral
.include <bsd.prog.mk>
+.include <bsd.subdir.mk>