echo "* Compiling Linux Port (text mode)"
echo "  :: Removing old wordlists"
if [ -r drivers/linux/all ]; then
  rm drivers/linux/all
fi

echo "  :: Creating Dictionary for Linux Drivers"
  (cd drivers/linux ; find -name \* ! -name \*~ -printf '%%include "drivers/linux/%P"\n') >drivers/all
  mv drivers/all drivers/linux
echo "  :: Compiling kernel image (images/rf)"
  nasm -felf retro.asm -Dplatform.linux -llistings/linux.lst && ld retro.o -s -oimages/rf
# ----------------------------------------------------------------
