2012-10-29 21:07:53 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
|
|
|
cd ../../..
|
|
|
|
autoreconf --force --install
|
|
|
|
|
|
|
|
cd ${curdir}
|
|
|
|
|
2014-01-26 21:12:22 +00:00
|
|
|
# To Profile w/ gprof:
|
|
|
|
# 1) Modify configure: ./configure --disable-shared CFLAGS="-pg"
|
|
|
|
# 2) Run the program. ./foo
|
|
|
|
# 3) Run gprof /libtool --mode=execute gprof ./foo
|
|
|
|
|
2012-10-29 21:07:53 +00:00
|
|
|
../../../configure --prefix=${curdir} \
|
|
|
|
CFLAGS="-Wall" \
|
|
|
|
CXXFLAGS="-Wall" \
|
|
|
|
CPPFLAGS= \
|
|
|
|
LDFLAGS= \
|
|
|
|
LIBS=
|
|
|
|
|
|
|
|
|
|
|
|
#make
|
2014-01-26 21:12:22 +00:00
|
|
|
#make install
|