cwtest/build/linux/debug/build.sh

28 lines
444 B
Bash
Raw Normal View History

2012-10-29 21:07:53 +00:00
#!/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
# To enable websock: --enable-websock \
2012-10-29 21:07:53 +00:00
../../../configure --prefix=${curdir} \
--enable-debug \
CFLAGS="-g -Wall" \
CXXFLAGS="-g -Wall" \
CPPFLAGS= \
LDFLAGS= \
LIBS=
#make
#make install