]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - number/Makefile
Use PREFIX now
[bsdgames-darwin.git] / number / Makefile
1 # $NetBSD: Makefile,v 1.4 1995/03/23 08:35:27 cgd Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= number
5 MAN= number.6
6 SRCS= number.c
7
8 all: $(PROG)
9
10 $(PROG): $(SRCS)
11 $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
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