echo "Embarking on a complete rebuild of InterDesk..."

export IDSK_DIR=$PWD

# Shell library
#cd shelllib
#build

# InterDesk library
cd $IDSK_DIR
cd lib
if make -u
then
  :
else
  exit
fi

# Graphical Shell
cd $IDSK_DIR
cd shell
if make -u
then
  :
else
  exit
fi

# File Manager
cd $IDSK_DIR
cd fm
if make -u
then
  :
else
  exit
fi

# Search utility
cd $IDSK_DIR
cd search
if make -u
then
  :
else
  exit
fi

# Help viewer
cd $IDSK_DIR
cd help
if make -u
then
  :
else
  exit
fi

# Help compiler
cd hc
if make -u
then
  :
else
  exit
fi

# Help's help file
cd help
if make -u
then
  :
else
  exit
fi

# Shadow editor's help file
cd ../shadow
if make -u
then
  :
else
  exit
fi

# Shell's help file
cd ../shell
if make -u
then
  :
else
  exit
fi

# FM's help file
cd ../fm
if make -u
then
  :
else
  exit
fi

# Shadow file editor
cd $IDSK_DIR
cd shadow
if make -u
then
  :
else
  exit
fi
