]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hangman/Makefile
cgram: fix undefined behavior when pressing function keys
[bsdgames-darwin.git] / hangman / Makefile
1 # $NetBSD: Makefile,v 1.8 2010/02/06 23:45:25 he Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= hangman
5 SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \
6 prdata.c prman.c prword.c setup.c
7 MAN= hangman.6
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
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