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