From 34a35320414c9fcc5ef9ffba4d2abd0a9997adae Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 10 Dec 2003 05:55:47 +0000 Subject: [PATCH] move flags to end of palm dict header for NODE_CAN_4 form of dawg --- xwords4/dawg/Makefile.langcommon | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xwords4/dawg/Makefile.langcommon b/xwords4/dawg/Makefile.langcommon index 67e13ad50..9512ad9c1 100644 --- a/xwords4/dawg/Makefile.langcommon +++ b/xwords4/dawg/Makefile.langcommon @@ -89,15 +89,16 @@ palmvalues.bin: values.bin palmspecials.bin palmheader%.bin: $(LANG)%_wordcount.bin $(LANG)%_flags.bin rm -f $@ touch $@ -ifdef NEWDAWG - cat $(LANG)$*_flags.bin >> $@ -endif cat $< >> $@ perl -e "print pack(\"C\",3)" >> $@ # first edge perl -e "print pack(\"C\",1)" >> $@ # char table rec number perl -e "print pack(\"C\",2)" >> $@ # valTable rec number perl -e "print pack(\"CCC\",0)" >> $@ # reserved 3 bytes +ifdef NEWDAWG + cat $(LANG)$*_flags.bin >> $@ +else perl -e "print pack(\"CC\",0)" >> $@ # c code added two more... +endif # This works, but leaves out the header info that the current version