mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 09:54:52 +01:00
5c12ee4b5d
This adds source files in compat, test, and util to SRCS so that the top-level Makefile.local will generate dependency files for them.
14 lines
320 B
Makefile
14 lines
320 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 $@ $^
|
|
|
|
SRCS := $(SRCS) $(libutil_c_srcs)
|
|
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
|