aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-13 07:50:04 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-13 08:53:14 -0700
commit11f99eb8eac3206f200a40a536ff3657ba577594 (patch)
tree515a5dd1a8f593a06cdef96ca20a113ab9db5db6 /Makefile
parent5986cfe5e71bad6126a05e733fa9ea777d7cc0eb (diff)
Add the beginnings of a xapian-dump program.
This will (when it is finished) make a much more reliable way to ensure that notmuch's sync program behaves identically to sup-sync. It doesn't actually do anything yet.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f50a434..614c5760 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
-PROGS=g_mime_test
+PROGS=g_mime_test xapian-dump
+
+MYCFLAGS=-Wall
+MYCXXFLAGS=-Wall
all: $(PROGS)
g_mime_test: g_mime_test.c
- $(CC) g_mime_test.c `pkg-config --cflags --libs gmime-2.4` -o g_mime_test
+ $(CC) $(CFLAGS) $(MYCFLAGS) g_mime_test.c `pkg-config --cflags --libs gmime-2.4` -o g_mime_test
+
+xapian-dump: xapian-dump.cc
+ $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump
clean:
rm -f $(PROGS)