2009-10-17 17:26:58 +02:00
|
|
|
PROGS=notmuch notmuch-index-message xapian-dump
|
2009-10-13 16:50:04 +02:00
|
|
|
|
2009-10-17 17:26:58 +02:00
|
|
|
MYCFLAGS=-Wall -O0 -g
|
2009-10-15 06:46:54 +02:00
|
|
|
MYCXXFLAGS=-Wall -O0 -g
|
2009-10-13 00:50:02 +02:00
|
|
|
|
|
|
|
all: $(PROGS)
|
|
|
|
|
2009-10-17 17:26:58 +02:00
|
|
|
notmuch: notmuch.c
|
|
|
|
$(CC) $(CFLAGS) $(MYCFLAGS) notmuch.c `pkg-config --cflags --libs glib-2.0` -o notmuch
|
|
|
|
|
2009-10-13 22:28:13 +02:00
|
|
|
notmuch-index-message: notmuch-index-message.cc
|
2009-10-17 17:26:58 +02:00
|
|
|
$(CXX) $(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)
|