X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile;h=bf3a5200ff74b99e47c94e0b674c762c3294b2e1;hp=0f50a434d22379f8c49a6a69a3cd5946e715bb95;hb=3253954233c378a0176eb9695fa7908c1ca21c2e;hpb=7d0886352cff30c5d79155d144f8ef2384b38829 diff --git a/Makefile b/Makefile index 0f50a434..bf3a5200 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ -PROGS=g_mime_test +PROGS=notmuch-index-message xapian-dump + +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 +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 + +xapian-dump: xapian-dump.cc + $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump clean: rm -f $(PROGS)