Blob Blame Raw
#!/bin/bash

set -e


if [ "$1" == "debug" ]; then
  c++ -Wall -g -O0 -pthread trainer.cpp -lm -o trainer-dbg
  echo done debug
else
  c++ -Wall -DNDEBUG -O3 -pthread trainer.cpp -lm -o trainer
  echo done release
fi