]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - battlestar/Makefile
cgram: allow navigation with KEY_PPAGE and KEY_NPAGE
[bsdgames-darwin.git] / battlestar / Makefile
1 # $NetBSD: Makefile,v 1.11 2019/10/29 21:30:42 christos Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= battlestar
5 SRCS= battlestar.c command1.c command2.c command3.c command4.c \
6 command5.c command6.c command7.c \
7 init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
8 globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
9 MAN= battlestar.6
10
11 all: $(PROG)
12
13 $(PROG): $(SRCS)
14 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
15 $(STRIP) $(PROG)
16
17 install: $(PROG) $(MAN)
18 $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
19 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
20
21 clean:
22 rm -f $(CLEANFILES) $(PROG)
23
24 .PHONY: all clean install