20 lines
434 B
Bash
Executable file
20 lines
434 B
Bash
Executable file
#! /bin/bash
|
|
script_root=$(pwd)
|
|
|
|
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:=clang} -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"
|