CFLAGS='-I.. -std=c++11 -g -O0' if [ "$(uname --operating-system)" == "Msys" ] then LDFLAGS=-lShlwapi else LDFLAGS= fi g++ $CFLAGS testFilesystem.cpp ../CodeDweller/filesystem.cpp $LDFLAGS -o testFilesystem if [ $? -ne 0 ] then exit -1 fi mkdir -p testDir ./testFilesystem