blob: 7992ad40da77d22f18b5e2e6c41b4b79f585a8cf (
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 2013/08/04 05:42:47 dholland Exp $
PROG=cgram
SRCS=cgram.c
MAN=cgram.6
all: $(PROG)
$(PROG): $(SRCS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
$(STRIP) $(PROG)
install: $(PROG) $(MAN)
$(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
$(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
clean:
rm -f $(CLEANFILES) $(PROG)
.PHONY: all clean install
|