2009-10-13 22:28:13 +02:00
|
|
|
PROGS=notmuch-index-message xapian-dump
|
2009-10-13 16:50:04 +02:00
|
|
|
|
|
|
|
MYCXXFLAGS=-Wall
|
2009-10-13 00:50:02 +02:00
|
|
|
|
|
|
|
all: $(PROGS)
|
|
|
|
|
2009-10-13 22:28:13 +02: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 16:50:04 +02:00
|
|
|
|
|
|
|
xapian-dump: xapian-dump.cc
|
|
|
|
$(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump
|
2009-10-13 00:50:02 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(PROGS)
|