1 # $NetBSD: Makefile,v 1.13 1999/02/13 02:54:22 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
7 CATS= africa america areas arith asia babies bard chinese collectives \
8 ed elements europe flowers greek inca index latin locomotive \
9 midearth morse mult murders poetry posneg pres province seq-easy \
10 seq-hard sexes sov spell state trek ucc
11 FILES= $(addprefix datfiles/,$(CATS))
12 FILESDIR=$(PREFIX)/share/games/quiz.db
17 $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I$(ROOT)
20 install: $(PROG) $(MAN)
21 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
22 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
23 $(GINSTALL) -d $(DESTDIR)$(FILESDIR)
24 $(GINSTALL) -Dm644 $(FILES) $(DESTDIR)$(FILESDIR)
27 rm -f $(CLEANFILES) $(PROG)
29 .PHONY: all clean install