]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hunt/huntd/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / hunt / huntd / Makefile
1 # $NetBSD: Makefile,v 1.8 2019/09/29 23:44:59 mrg Exp $
2
3 PROG= huntd
4 SRCS= answer.c draw.c driver.c execute.c expl.c \
5 extern.c makemaze.c shots.c support.c terminal.c
6 MAN= huntd.6
7
8 all: $(PROG)
9
10 $(PROG): $(SRCS)
11 $(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(EXTRADEFS) -I../include -I$(ROOT)
12 $(STRIP) $(PROG)
13
14 install: $(PROG) $(MAN)
15 $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
16 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
17
18 clean:
19 rm -f $(CLEANFILES) $(PROG)
20
21 .PHONY: all clean install