]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - sail/Makefile
fish: remove trailing whitespace
[bsdgames-darwin.git] / sail / Makefile
1 # $NetBSD: Makefile,v 1.18 2011/08/25 15:50:45 joerg Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= sail
5 SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
6 dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
7 assorted.c game.c globals.c misc.c parties.c sync.c array.c version.c
8 MAN= sail.6
9
10 all: $(PROG)
11
12 $(PROG): $(SRCS)
13 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
14 $(STRIP) $(PROG)
15
16 install: $(PROG) $(MAN)
17 $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
18 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
19 $(GINSTALL) -d $(DESTDIR)/$(LOCALSTATEDIR)/games
20
21 clean:
22 rm -f $(CLEANFILES) $(PROG)
23
24 .PHONY: all clean install