mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-01 07:04:10 +01:00
0cfb8a24dc
These are intended to be simple wrappers to provide slightly better debugging information than what talloc currently provides natively.
15 lines
389 B
Makefile
15 lines
389 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := util
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
libutil_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \
|
|
$(dir)/string-util.c $(dir)/talloc-extra.c
|
|
|
|
libutil_modules := $(libutil_c_srcs:.c=.o)
|
|
|
|
$(dir)/libutil.a: $(libutil_modules)
|
|
$(call quiet,AR) rcs $@ $^
|
|
|
|
SRCS := $(SRCS) $(libutil_c_srcs)
|
|
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
|