2010-09-17 21:10:54 +02:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
dir := test
|
|
|
|
|
2011-05-18 22:15:46 +02:00
|
|
|
smtp_dummy_srcs = \
|
|
|
|
$(notmuch_compat_srcs) \
|
|
|
|
$(dir)/smtp-dummy.c
|
|
|
|
|
|
|
|
smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o)
|
|
|
|
|
|
|
|
$(dir)/smtp-dummy: $(smtp_dummy_modules)
|
2010-10-27 19:42:46 +02:00
|
|
|
$(call quiet,CC) $^ -o $@
|
|
|
|
|
2010-11-06 01:50:12 +01:00
|
|
|
.PHONY: test check
|
2010-10-27 19:42:46 +02:00
|
|
|
test: all $(dir)/smtp-dummy
|
2010-09-20 23:06:38 +02:00
|
|
|
@${dir}/notmuch-test $(OPTIONS)
|
2010-10-27 19:42:46 +02:00
|
|
|
|
2010-11-06 01:50:12 +01:00
|
|
|
check: test
|
|
|
|
|
2010-10-27 19:42:46 +02:00
|
|
|
CLEAN := $(CLEAN) $(dir)/smtp-dummy
|