]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - dm/Makefile
fish: remove trailing whitespace
[bsdgames-darwin.git] / dm / Makefile
1 # $NetBSD: Makefile,v 1.11 2002/09/18 03:23:00 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= dm
5 SRCS= dm.c utmpentry.c
6 MAN8= dm.8
7 MAN5= dm.conf.5
8
9 all: $(PROG)
10
11 $(PROG): $(SRCS)
12 $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -DSUPPORT_UTMPX -I$(ROOT)
13 $(STRIP) $(PROG)
14
15 install: $(PROG) $(MAN)
16 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
17 $(GINSTALL) -Dm644 $(MAN8) $(DESTDIR)/$(PREFIX)/share/man/man8/$(MAN8)
18 $(GINSTALL) -Dm644 $(MAN5) $(DESTDIR)/$(PREFIX)/share/man/man5/$(MAN5)
19
20 clean:
21 rm -f $(CLEANFILES) $(PROG)
22
23 .PHONY: all clean install