...
~/gem/v_5.1.1/Abs/...
Set a variable that we will use later and create the directory:
abs_dir=~/gem/v_5.1.1/Abs/My_Abs # Set 'My_Abs' to whatever you like
mkdir -p ${abs_dir}
2) Populate directory
Go into the executable directory you created above.
cd ${abs_dir}
a) Clone the Git repository you want
...
then change into 'gem' directory that came with the clone:
cd gem
b) Create working directories
...
work_space=~/projects/def-professor/${USER}/GEM_WORK_DIR # Set 'professor' to the CC name of your professor. You can find all of them under ~/projects.
Create the directories and the links:
mkdir -p ${work_space}/${abs_dir##*/}/build
mkdir -p ${work_space}/${abs_dir##*/}/work
ln -s ${work_space}/${abs_dir##*/}/build
ln -s ${work_space}/${abs_dir##*/}/work
3) Create the executables
...
b) Set the variable 'abs_dir' to the name of your executable directory, including the 'gem' directory (needed under d))
...