X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile;h=c1fbd2a19bcc2d6f09c67677b25073660fb6009f;hp=17f29fb1960c202e00c56d70d1b65586340a5ed5;hb=36640b303ea68ae28e89f27694356141f515819b;hpb=9c3807e688e587070407f671e884bf1e9b9892a5 diff --git a/Makefile b/Makefile index 17f29fb1..c1fbd2a1 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,15 @@ -PROGS=notmuch-index-message xapian-dump +PROGS=notmuch notmuch-index-message xapian-dump +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