mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 09:54:52 +01:00
9ff72a83bd
This is to give a home to strtok_len. It's a bit silly to add a header for one routine, but it needs to be shared between several compilation units (or at least that's the most natural design).
15 lines
367 B
Makefile
15 lines
367 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
|
|
|
|
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
|