cgram: conform to lint's strict bool mode, KNF
[bsdgames-darwin.git] / worms / Makefile
1 # $NetBSD: Makefile,v 1.10 2010/02/06 23:45:26 he Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= worms
5 MAN= worms.6
6 SRCS= worms.c
7
8 all: $(PROG)
9
10 $(PROG): $(SRCS)
11 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw
12 $(STRIP) $(PROG)
13
14 install: $(PROG) $(MAN)
15 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
16 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
17
18 clean:
19 rm -f $(CLEANFILES) $(PROG)
20
21 .PHONY: all clean install