mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
1dedfc90f6
We keep the lib/xutil.c version. As a consequence, also factor out _internal_error and associated macros. It might be overkill to make a new file error_util.c for this, but _internal_error does not really belong in database.cc.
11 lines
231 B
Makefile
11 lines
231 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := util
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
libutil_c_srcs := $(dir)/xutil.c $(dir)/error_util.c
|
|
|
|
libutil_modules := $(libutil_c_srcs:.c=.o)
|
|
|
|
$(dir)/libutil.a: $(libutil_modules)
|
|
$(call quiet,AR) rcs $@ $^
|