A quick and dirty port of the DOS sources, generates asm in Frankenstein format
(tested on linux and freebsd probably works on other platforms)

MUST USE GMAKE!!

changed files:

code.c/abstract.c
(fixed a couple deprecated uses of for(;;) inits for warnings,
changed all references of .phrase to .phrasemem, changed NULL to 0 line 108)
code.c/phase.h
(renamed "struct phrase" member phrase to phrasemem)
code.c/main.h
(changed MAXBUF to type const int)
code.c/decoder.i
(changed all labels so no ':' suffix, removed BSS and CODE directives,
changed one bra to lbra, changed magic header's 'types' to Frankenstein
friendly names)
code.c/makefile 
(almost total rewrite to fit gmake syntax)

tested by encoding the starwars.ym from the ym/ directory in this tarball
you MUST get lha for linux to extract the .ym first (it's extracted as 
"starwars.bin" for the record) running the linux version on the YM file
and the DOS version then doing a 'diff' on them. This produced 0 differences
between files, so this should work perfectly. I threw lha in the bin/
directory although it's probably not legal to. So sue me.

decode.c/decode.cpp
(changed MAXBUF to type const int, renamed "struct phrase" member
phrase to phrasemem (phrasemember I guess!))
decode.c/makefile
(almost total rewrite to fit gmake syntax)

decode is untested, but I only changed 5 lines in the cpp file it should work
whatever it's suppose to do (I'm not sure haven't looked into it)

brian	gauze@rifug.org

Fri May 10 19:28:25 EDT 2002
