echo "Embarking on a remake of InterDesk..."

export IDSK_DIR=$PWD

# Shell library
#cd shelllib
# Don't do anything.

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

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

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

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

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

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

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

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

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

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

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