CFLAGS='-I.. -std=c++0x -g -O0' g++ $CFLAGS childProgram.cpp -o childProgram if [ $? -ne 0 ] then exit -1 fi g++ $CFLAGS testChild.cpp ../CodeDweller/child.cpp -o testChild if [ $? -ne 0 ] then exit -1 fi ./testChild