26 lines
551 B
Bash
26 lines
551 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
curdir=`pwd`
|
||
|
|
||
|
cd ../../..
|
||
|
autoreconf --force --install
|
||
|
|
||
|
cd ${curdir}
|
||
|
|
||
|
# 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
|
||
|
|
||
|
../../../configure --prefix=${curdir} \
|
||
|
--enable-debug --enable-build_libcm \
|
||
|
CFLAGS="-g -Wall" \
|
||
|
CXXFLAGS="-g -Wall" \
|
||
|
LIBS=
|
||
|
|
||
|
# CPPFLAGS="-I/home/kevin/src/libcm/build/linux/debug/include " \
|
||
|
# LDFLAGS="-L/home/kevin/src/libcm/build/linux/debug/lib" \
|
||
|
|
||
|
#make
|
||
|
#make install
|