]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - caesar/Makefile
236d2633ac4607843786f4d75d58993ae53f64b5
[bsdgames-darwin.git] / caesar / Makefile
1 # $NetBSD: Makefile,v 1.8 2008/01/28 07:03:59 dholland Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= caesar
5 MAN= caesar.6
6 SCRIPTS=rot13.sh
7 SRCS= caesar.c
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
13 $(STRIP) $(PROG)
14
15 install: $(PROG) $(MAN) $(SCRIPTS)
16 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
17 $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
18 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
19 $(LN) -sf $(MAN).zst $(DESTDIR)/usr/share/man/man6/rot13.6
20
21 clean:
22 rm -f $(CLEANFILES) $(PROG)
23
24 .PHONY: all clean install