16 lines
505 B
Bash
16 lines
505 B
Bash
|
|
#!/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"
|