diff options
author | dholland <dholland@NetBSD.org> | 2014-03-29 21:24:26 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-29 21:24:26 +0000 |
commit | d6724a84e4ba41305086422afc071d9c8b92c09b (patch) | |
tree | c457518bb9f57b190abf81fec13cb6c911aacdf2 /hunt/huntd/Makefile | |
parent | 32a54d49158271df4ffa0cf4422f612647973022 (diff) | |
download | bsdgames-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/huntd/Makefile')
-rw-r--r-- | hunt/huntd/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hunt/huntd/Makefile b/hunt/huntd/Makefile index 76e76058..ab12f185 100644 --- a/hunt/huntd/Makefile +++ b/hunt/huntd/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.3 2014/03/29 20:35:30 dholland Exp $ +# $NetBSD: Makefile,v 1.4 2014/03/29 21:24:26 dholland Exp $ PROG= huntd SRCS= answer.c draw.c driver.c execute.c expl.c \ extern.c makemaze.c pathname.c shots.c terminal.c MAN= huntd.6 +CPPFLAGS+=-I${.CURDIR}/../include + .include <bsd.prog.mk> |