]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - cribbage/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / cribbage / Makefile
1 # $NetBSD: Makefile,v 1.13 2010/02/06 23:45:25 he Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= cribbage
5 SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
6 MAN= cribbage.6
7 FILES= cribbage.n
8 FILESNAME=cribbage.instr
9
10 all: $(PROG)
11
12 $(PROG): $(SRCS)
13 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
14 $(STRIP) $(PROG)
15
16 install: $(PROG) $(MAN)
17 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
18 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
19 $(GINSTALL) -Dm644 $(FILES) $(DESTDIR)/$(PREFIX)/share/games/$(FILESNAME)
20
21 clean:
22 rm -f $(CLEANFILES) $(PROG)
23
24 .PHONY: all clean install