mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
d86522637a
Add a date/time parser to notmuch, to be used for adding date range query support for notmuch lib later on. Add the parser to a directory of its own to make it independent of the rest of the notmuch code base. Signed-off-by: Jani Nikula <jani@nikula.org>
12 lines
409 B
Text
12 lines
409 B
Text
dir := parse-time-string
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
libparse-time-string_c_srcs := $(dir)/parse-time-string.c
|
|
|
|
libparse-time-string_modules := $(libparse-time-string_c_srcs:.c=.o)
|
|
|
|
$(dir)/libparse-time-string.a: $(libparse-time-string_modules)
|
|
$(call quiet,AR) rcs $@ $^
|
|
|
|
SRCS := $(SRCS) $(libparse-time-string_c_srcs)
|
|
CLEAN := $(CLEAN) $(libparse-time-string_modules) $(dir)/libparse-time-string.a
|