2009-10-13 13:28:13 -07:00
|
|
|
PROGS=notmuch-index-message xapian-dump
|
2009-10-13 07:50:04 -07:00
|
|
|
|
2009-10-14 21:46:54 -07:00
|
|
|
MYCXXFLAGS=-Wall -O0 -g
|
2009-10-12 15:50:02 -07:00
|
|
|
|
|
|
|
all: $(PROGS)
|
|
|
|
|
2009-10-13 13:28:13 -07:00
|
|
|
notmuch-index-message: notmuch-index-message.cc
|
|
|
|
$(CC) $(CXXFLAGS) $(MYCXXFLAGS) notmuch-index-message.cc `pkg-config --cflags --libs gmime-2.4` `xapian-config --cxxflags --libs` -o notmuch-index-message
|
2009-10-13 07:50:04 -07:00
|
|
|
|
|
|
|
xapian-dump: xapian-dump.cc
|
|
|
|
$(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump
|
2009-10-12 15:50:02 -07:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(PROGS)
|