Mercurial > hg > audiodb
view MakefileLSH @ 497:9d8aee621afb api-inversion
More libtests fixups.
Include audiodb_close() calls everywhere (whoops).
Add the facility to run tests under valgrind. Unfortunately the
error-exitcode flag doesn't actually cause an error exit if the only
thing wrong is memory leaks, but it will if there are actual memory
errors, which is a start.
author | mas01cr |
---|---|
date | Sat, 10 Jan 2009 16:07:43 +0000 |
parents | 071a108580a4 |
children |
line wrap: on
line source
#CFLAGS= -O3 -g CFLAGS= -ggdb --save-temps MTSOURCES=mt19937/mt19937ar.c CFLAGS+=-DMT19937 GENGETOPT=gengetopt SOAPCPP2=soapcpp2 GSOAP_CPP=-lgsoap++ GSOAP_INCLUDE= TARGET=UNIT_TEST_LSH LSHOBS=UNIT_TEST_LSH.cpp lshlib.cpp LSHHDRS=lshlib.h ifeq ($(shell uname),Linux) override CFLAGS+=-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif all: ${TARGET} ${TARGET}: ${LSHOBS} ${LSHHDRS} ${MTSOURCES} MakefileLSH ${GENGETOPT} -e <gengetopt.in ${SOAPCPP2} audioDBws.h g++ -o ${TARGET} ${CFLAGS} ${LSHOBS} ${MTSOURCES}