]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - gomoku/Makefile
properly terminate after using strncpy().
[bsdgames-darwin.git] / gomoku / Makefile
1 # $NetBSD: Makefile,v 1.5 2010/02/06 23:45:25 he Exp $
2 # @(#)Makefile 8.1 (Berkeley) 7/24/94
3
4 PROG= gomoku
5 SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c
6 MAN= gomoku.6
7
8 all: $(PROG)
9
10 $(PROG): $(SRCS)
11 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw
12 $(STRIP) $(PROG)
13
14 install: $(PROG) $(MAN)
15 $(GINSTALL) -Dm755 $(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