From 5e6eca025a98570ed7533a1428ba1d782b5fb57d Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 30 Oct 2005 19:05:40 +0000 Subject: [PATCH] fix so hex dicts build again --- xwords4/dawg/Hex/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/xwords4/dawg/Hex/Makefile b/xwords4/dawg/Hex/Makefile index be773aacd..71514b42c 100644 --- a/xwords4/dawg/Hex/Makefile +++ b/xwords4/dawg/Hex/Makefile @@ -14,25 +14,26 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -LANG=Hex -LANGCODE=hex +LANG = Hex +LANGCODE = hex -LANG_SPECIAL_INFO = \ - "_" /dev/null /dev/null +TARGET_TYPE = WINCE include ../Makefile.2to8 include ../Makefile.langcommon +# Pass in your own dict here by setting DICT +DICT ?= $(XWDICTPATH)/English/SOWPODS_official.txt.gz + # Feel free to base this on whatever dictionary you have at hand. I'm # using CollegeEng for no particular reason. -$(LANG)Main.dict.gz: ../English/CollegeEng.dict.gz +$(LANG)Main.dict.gz: $(DICT) + @echo "building $@ from $<" zcat $< | tr [a-f] [A-F] | grep -e '^[A-F]\{2,8\}$$' | \ echo CAFEBABE DEADBEEF $$(cat -) | \ tr ' ' '\n' | sort | gzip > $@ -# cat - $$(echo 'CAFEBABE' 'DEADBEEF') | sort | gzip > $@ - # Everything but creating of the Main.dict file is inherited from the # "parent" Makefile.langcommon in the parent directory.