#!/bin/bash # cp tetrahedron_nco_rule.hpp /$HOME/include # g++ -c -I /$HOME/include tetrahedron_nco_rule.cpp if [ $? -ne 0 ]; then echo "Errors compiling tetrahedron_nco_rule.cpp" exit fi # mv tetrahedron_nco_rule.o ~/libcpp/$ARCH/tetrahedron_nco_rule.o # echo "Library installed as ~/libcpp/$ARCH/tetrahedron_nco_rule.o"