]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
Fix dependency generation for compat, test, and util
[notmuch] / test / Makefile.local
index 6cb6c829db7901499824eae12f02068663d78ea6..4a6a4b12e862253c3964ec203aa45734825d3f19 100644 (file)
@@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules)
        $(call quiet,CC) $^ -o $@
 
 $(dir)/symbol-test: $(dir)/symbol-test.o
-       $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian
+       $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch -lxapian
 
 .PHONY: test check
 
@@ -28,6 +28,7 @@ test: all test-binaries
 
 check: test
 
+SRCS := $(SRCS) $(smtp_dummy_srcs)
 CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \
         $(dir)/symbol-test $(dir)/symbol-test.o \
         $(dir)/arg-test $(dir)/arg-test.o