aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-24 22:18:20 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-24 22:18:20 -0700
commit526b7144f7d692e04ce950dfa7d0ee1bdf792cdc (patch)
tree25a73ced7064fe21b5095e62b7b2f659083fb622 /Makefile
parent144b2cbc5532e000c37b4d5ba7bb5d9ea113859f (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 $@