]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - testpat/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / testpat / Makefile
1 # $NetBSD: Makefile,v 1.1 2021/01/02 03:21:39 nat Exp $
2
3 PROG= testpat
4 MAN= testpat.6
5 SRCS= testpat.c
6
7 all: $(PROG)
8
9 $(PROG): $(SRCS)
10 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw
11 $(STRIP) $(PROG)
12
13 install: $(PROG) $(MAN)
14 $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
15 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
16
17 clean:
18 rm -f $(CLEANFILES) $(PROG)
19
20 .PHONY: all clean install