run.sh 343 Bytes
Newer Older
Savva Golubitsky's avatar
Savva Golubitsky committed
1 2 3 4 5 6
g++ -c -fPIC ./dev/core/anymap.cpp -o anymap.o -I./dev;
g++ -c -fPIC  tests.cpp -o tests.o -I./dev;
# g++ -c -fPIC ./dev/iniparser/iniparser.cpp -o iniparser.o -I./dev;
g++ tests.o anymap.o -shared -o libtest.so; rm tests.o anymap.o;
if g++ $1 -o graph.out -I./dev ./dev/core/anymap.cpp -ldl; then
./graph.out;
Savva Golubitsky's avatar
Savva Golubitsky committed
7 8 9
else 
 echo "Not Compiled!";
fi;