CFLAGS='-I.. -std=c++11 -g -O0 -pthread'
g++ $CFLAGS childProgram.cpp -o childProgram
if [ $? -ne 0 ]
then
  exit -1
fi

g++ $CFLAGS testChild.cpp ../CodeDweller/child.cpp ../CodeDweller/timing.cpp -o testChild
if [ $? -ne 0 ]
then
  exit -1
fi

./testChild