summaryrefslogtreecommitdiffstats
path: root/boggle/boggle/Makefile
blob: 770ef1717eccb52e7edf4ce183374dfe145460c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PROG=	boggle
SRCS=	bog.c help.c mach.c prtable.c timer.c word.c
MAN=	boggle.6

all: boggle

$(PROG): $(SRCS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG) -lncursesw
	$(STRIP) boggle

clean:
	rm -f boggle

install: $(PROG) $(MAN)
	$(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
	$(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)

.PHONY: all clean install