]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - bcd/Makefile
Fix warp compilation
[bsdgames-darwin.git] / bcd / Makefile
1 # $NetBSD: Makefile,v 1.8 2009/07/26 03:02:38 dholland Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= bcd
5 MAN= bcd.6
6 MLINKS= bcd.6 morse.6 bcd.6 ppt.6
7 SRCS= bcd.c
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
13 $(STRIP) $(PROG)
14
15 install: $(PROG) $(MAN)
16 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
17 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
18 $(LN) -sf $(MAN).zst $(DESTDIR)/$(PREFIX)/share/man/man6/morse.6
19 $(LN) -sf $(MAN).zst $(DESTDIR)/$(PREFIX)/share/man/man6/ppt.6
20
21 clean:
22 rm -f $(CLEANFILES) $(PROG)
23
24 .PHONY: all clean install