aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-25 16:09:31 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-25 16:09:31 -0700
commit179629b672092cb98b8d15bca7d5a622500a488a (patch)
treee10355f5347c4c54686455ead031ec6160141e44 /Makefile
parent445234ac1f785afac9e81b8271bc582e8c941e67 (diff)
Fix missing xapian-flags when generating dependencies.
I didn't notice this because `xapian-config -cxxflags` gives empty output on my system. But for someone with the xapian library installed in some non-standard location this would be important.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf34b8a5..6af7faf5 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ notmuch: $(MODULES)
$(CC) $(MYLDFLAGS) $^ -o $@
Makefile.dep: *.c *.cc
- $(CC) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $^ > $@
+ $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@
-include Makefile.dep
clean: