if [ "$(uname --operating-system)" == "Msys" ] then CFLAGS='-I.. -std=c++11 -g -O0 -DWIN32 -pthread' else CFLAGS='-I.. -std=c++0x -g -O0 -pthread' fi g++ $CFLAGS serviceProgram.cpp ../CodeDweller/service.cpp -o serviceProgram if [ $? -ne 0 ] then exit -1 fi