Files
libraries/compileall.sh

16 lines
505 B
Bash
Raw Normal View History

2025-09-19 17:47:22 +10:00
#!/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"