make jpeg compile
restructure makefile
force 32-bit
tprolog and tprologc have fixed refs
just need to change fileman paths before it works
tprologc works
test.sh passes