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