12345678910111213141516171819 |
- if [ "$(uname --operating-system)" == "Msys" ]
- then
- CFLAGS='-I.. -std=c++11 -g -O0 -DWIN32'
- else
- CFLAGS='-I.. -std=c++0x -g -O0'
- fi
- 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
|