#!/bin/bash # This is a rather clunky way to compile and install both debugging # and optimized libs. Masters of Autotools, help me! make clean ./configure --prefix=$(pwd) --enable-debug CXX='g++4' CFLAGS='-march=nocona -O2 -pipe' make -j5 install cp channelflow/libchflow.a lib/libchflow-debug.a make clean ./configure --prefix=$(pwd) CXX='g++4' CFLAGS='-march=nocona -O2 -pipe' make -j5 install