]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - boggle/Makefile
4d5b869a69d459cc37e3666146552f9db6a4faf0
[bsdgames-darwin.git] / boggle / Makefile
1 all: dictionary dictindex boggle
2
3 mkdict:
4 $(MAKE) -C mkdict
5
6 mkindex:
7 $(MAKE) -C mkindex
8
9 boggle:
10 $(MAKE) -C boggle
11
12 clean:
13 rm -f dictionary dictindex
14 $(MAKE) -C mkdict clean
15 $(MAKE) -C mkindex clean
16 $(MAKE) -C boggle clean
17
18 dictionary: mkdict
19 ./mkdict/mkdict < mkdict/web2 > dictionary
20
21 dictindex: mkindex dictionary
22 ./mkindex/mkindex < dictionary > dictindex
23
24 install: dictindex dictionary boggle
25 $(GINSTALL) -Dm644 dictionary $(DESTDIR)/usr/share/games/boggle/dictionary
26 $(GINSTALL) -Dm644 dictindex $(DESTDIR)/usr/share/games/boggle/dictindex
27 $(MAKE) -C boggle install
28
29 .PHONY: all clean install mkdict mkindex boggle