]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - fish/Makefile
Use PREFIX now
[bsdgames-darwin.git] / fish / Makefile
1 # $NetBSD: Makefile,v 1.10 1999/02/13 02:54:21 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= fish
5 MAN= fish.6
6 SRCS= fish.c
7 FILES=fish.instr
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I$(ROOT)
13 $(STRIP) $(PROG)
14
15 install: $(PROG) $(MAN)
16 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/bsd-$(PROG)
17 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/bsd-$(MAN)
18 $(GINSTALL) -Dm644 $(FILES) $(DESTDIR)/$(PREFIX)/share/games/bsd-$(FILES)
19
20 clean:
21 rm -f $(CLEANFILES) $(PROG)
22
23 .PHONY: all clean install