]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - trek/Makefile
games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance.
[bsdgames-darwin.git] / trek / Makefile
index b019e29a33649e2482fe4067c3d1fe3b3435b11a..1f80d74c4f556bb19582585d4dfd26262b1e2174 100644 (file)
@@ -1,4 +1,4 @@
-#      $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
@@ -8,15 +8,16 @@ 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
+       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>