summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/Makefile
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 21:24:26 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 21:24:26 +0000
commitd6724a84e4ba41305086422afc071d9c8b92c09b (patch)
treec457518bb9f57b190abf81fec13cb6c911aacdf2 /hunt/hunt/Makefile
parent32a54d49158271df4ffa0cf4422f612647973022 (diff)
downloadbsdgames-darwin-d6724a84e4ba41305086422afc071d9c8b92c09b.tar.gz
bsdgames-darwin-d6724a84e4ba41305086422afc071d9c8b92c09b.tar.zst
bsdgames-darwin-d6724a84e4ba41305086422afc071d9c8b92c09b.zip
Split hunt and huntd's includes, instead of incestuously sharing a pile
of external data and function declarations between the two programs. Common constants and defines now go in hunt_common.h. Stuff that belongs only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd is in huntd/hunt.h. Copy some declarations that are used in both programs under the same names (but are not actually the same objects) from huntd/hunt.h to hunt/hunt_private.h. Move others that are only used in hunt. Remove some entirely unused material, and tidy up standard includes.
Diffstat (limited to 'hunt/hunt/Makefile')
-rw-r--r--hunt/hunt/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/hunt/hunt/Makefile b/hunt/hunt/Makefile
index 72c34768..2279cc19 100644
--- a/hunt/hunt/Makefile
+++ b/hunt/hunt/Makefile
@@ -1,14 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2010/02/06 23:45:25 he Exp $
+# $NetBSD: Makefile,v 1.8 2014/03/29 21:24:26 dholland Exp $
PROG= hunt
-SRCS= connect.c hunt.c otto.c playit.c pathname.c
+SRCS= connect.c hunt.c otto.c playit.c
MAN= hunt.6
LDADD= -lcurses -lterminfo
DPADD= ${LIBCURSES} ${LIBTERMINFO}
HIDEGAME=hidegame
-CPPFLAGS+=-I${.CURDIR}/../huntd
-
-.PATH: ${.CURDIR}/../huntd
+CPPFLAGS+=-I${.CURDIR}/../include
.include <bsd.prog.mk>