view MakefileLSH @ 539:06ed85832c3b multiprobeLSH

Optimized the query_loop_points inner loop for memcpy and I/O efficiency. Uses sparse seeks and reads to perform scattered reads across data set. Current version does not cache fid between open calls to the same trackID.
author mas01mc
date Sat, 07 Feb 2009 01:20:05 +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}