diff options
author | David Bremner <david@tethera.net> | 2014-03-19 21:48:04 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-03-25 08:32:10 -0300 |
commit | 68c2c5d31ccbfd43052e4e5e9abcfe285fc205c8 (patch) | |
tree | b433f7e129167dd7b6d6f86abdfd2030f9dbfd84 /test | |
parent | 26556f9b114baf498bee8e6d8e6cf60a6f483a89 (diff) |
test: use $(srcdir) instead of . as include path
This is needed for out of tree builds. The functional change is the
modification of extra_cflags; the other changes are cosmetic.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.local | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.local b/test/Makefile.local index 36b1c1b7..ae9db809 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -4,7 +4,7 @@ dir := test # save against changes in $(dir) test_src_dir := $(dir) -extra_cflags += -I. +extra_cflags += -I$(srcdir) smtp_dummy_srcs = \ $(notmuch_compat_srcs) \ @@ -13,10 +13,10 @@ smtp_dummy_srcs = \ smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o) $(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a - $(call quiet,CC) -I. $^ -o $@ + $(call quiet,CC) $^ -o $@ $(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libutil.a - $(call quiet,CC) -I. $^ -o $@ -ltalloc + $(call quiet,CC) $^ -o $@ -ltalloc random_corpus_deps = $(dir)/random-corpus.o $(dir)/database-test.o \ notmuch-config.o command-line-arguments.o \ |