#! /bin/bash script_root=$(pwd) CC:="clang" echo "Creating folder for libraries" mkdir lib echo "Cloning simple_hashtable library" mkdir tmp cd tmp git clone https://h2939863.stratoserver.net/git/XOR/simple_hashtable.git cd simple_hashtable echo "Building simple_hashtable library" $CC -c shash.c -o $script_root/lib/shash.o echo "Delete source files" cd $script_root rm -rf tmp echo "You can now run "make" to build the Assembler"