From 526b7144f7d692e04ce950dfa7d0ee1bdf792cdc Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 24 Oct 2009 22:18:20 -0700 Subject: Add debugging code for examining query strings. It's nice that Xapian provides a little function to print a textual representation of the entire query tree. So now, if you compile like so: make CFLAGS=-DDEBUG_QUERY then you get a nice output of the query string received by the query module, and the final query actually being sent to Xapian. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13f2b28d..1737a32e 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ MODULES= \ all: $(PROGS) %.o: %.cc - $(CXX) -c $(CXXFLAGS) $(MYCXXFLAGS) $< -o $@ + $(CXX) -c $(CFLAGS) $(CXXFLAGS) $(MYCXXFLAGS) $< -o $@ %.o: %.c $(CC) -c $(CFLAGS) $(MYCFLAGS) $< -o $@ -- cgit v1.2.3