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