caw/build/linux/debug/build.sh

26 lines
522 B
Bash
Raw Normal View History

2022-06-12 21:59:20 +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
../../../configure --prefix=${curdir} --enable-debug --enable-websock \
--enable-alsa \
CFLAGS="-g -Wall" \
CXXFLAGS="-g -Wall" \
CPPFLAGS="-I${HOME}/sdk/libwebsockets/build/out/include" \
LDFLAGS="-L${HOME}/sdk/libwebsockets/build/out/lib" \
LIBS=
#make
#make install