diff --git a/extlibs/compileall.sh b/extlibs/compileall.sh new file mode 100755 index 0000000..17422ff --- /dev/null +++ b/extlibs/compileall.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +echo "This script is designed for Linux systems" +echo "Please ensure CPR is installed on your system before continuing" +echo "On Arch Linux: sudo pacman -S cpr" + +echo "Compiling exec library" +g++ -shared -fPIC -o exec.so exec/exec.cpp +echo "Compiling file library" +g++ -shared -fPIC -o file.so file/file.cpp +echo "Compiling math library" +g++ -shared -fPIC -o math.so math/math.cpp +echo "Compiling request library" +g++ -shared -fPIC -lcpr -o request.so request/request.cpp +echo "Done"