#!/bin/bash set -e if [ "$1" = "debug" ]; then c++ -Wall -g -O0 *.cpp -o icetunnel2-debug else c++ -Wall -DNDEBUG -O3 *.cpp -o icetunnel2 fi