X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile;h=c1fbd2a19bcc2d6f09c67677b25073660fb6009f;hp=bf3a5200ff74b99e47c94e0b674c762c3294b2e1;hb=512f7bb0f62c28c3c109a4f0fd089f253784dc9b;hpb=c55c34f4a08829c2734168a912c0ad371b934d30 diff --git a/Makefile b/Makefile index bf3a5200..c1fbd2a1 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,15 @@ -PROGS=notmuch-index-message xapian-dump +PROGS=notmuch notmuch-index-message xapian-dump -MYCXXFLAGS=-Wall +MYCFLAGS=-Wall -O0 -g +MYCXXFLAGS=-Wall -O0 -g all: $(PROGS) +notmuch: notmuch.c + $(CC) $(CFLAGS) $(MYCFLAGS) notmuch.c `pkg-config --cflags --libs glib-2.0` -o notmuch + 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 + $(CXX) $(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