]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - mille/Makefile
cgram: allow navigation with KEY_PPAGE and KEY_NPAGE
[bsdgames-darwin.git] / mille / Makefile
1 # $NetBSD: Makefile,v 1.10 2010/02/06 23:45:25 he Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= mille
5 SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
6 roll.c save.c types.c varpush.c
7 MAN= mille.6
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw
13 $(STRIP) $(PROG)
14
15 install: $(PROG) $(MAN)
16 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
17 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
18
19 clean:
20 rm -f $(CLEANFILES) $(PROG)
21
22 .PHONY: all clean install