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 286B

1234567891011121314151617
  1. CFLAGS='-I.. -std=c++11 -g -O0'
  2. if [ "$(uname --operating-system)" == "Msys" ]
  3. then
  4. LDFLAGS=-lShlwapi
  5. else
  6. LDFLAGS=
  7. fi
  8. g++ $CFLAGS testFilesystem.cpp ../CodeDweller/filesystem.cpp $LDFLAGS -o testFilesystem
  9. if [ $? -ne 0 ]
  10. then
  11. exit -1
  12. fi
  13. mkdir -p testDir
  14. ./testFilesystem