Assembler/dependency_setup.sh

21 lines
434 B
Bash
Raw Normal View History

2023-09-07 21:58:19 +02:00
#! /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
2023-09-07 21:58:19 +02:00
echo "Delete source files"
cd $script_root
rm -rf tmp
2023-09-07 22:45:56 +02:00
echo "You can now run "make" to build the Assembler"