You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

buildAndRun 327B

12345678910111213141516171819
  1. if [ "$(uname --operating-system)" == "Msys" ]
  2. then
  3. CFLAGS='-I.. -std=c++11 -g -O0 -DWIN32'
  4. else
  5. CFLAGS='-I.. -std=c++0x -g -O0'
  6. fi
  7. g++ $CFLAGS childProgram.cpp -o childProgram
  8. if [ $? -ne 0 ]
  9. then
  10. exit -1
  11. fi
  12. g++ $CFLAGS testChild.cpp ../CodeDweller/child.cpp -o testChild
  13. if [ $? -ne 0 ]
  14. then
  15. exit -1
  16. fi
  17. ./testChild