mk-dbg 283 B

123456789101112
  1. #!/bin/bash
  2. echo $COMSPEC | grep WINDOWS > /dev/null
  3. IS_NOT_WINDOWS=$?
  4. ROOT_DIR=`pwd`
  5. if (($IS_NOT_WINDOWS))
  6. then cd build && make debug && cd bin/Debug/ && gdb ./loopidity-dbg
  7. else cd build && MINGW=1 make debug && cd bin/Debug/ && gdb ./loopidity-dbg.exe
  8. fi
  9. cd $ROOT_DIR