#!/bin/sh

g++ -O2 -Wall -fPIC -c triangle.cpp
g++ -shared -o triangle.so triangle.o
g++ -o test main.cpp -ldl