aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/Makefile.local
blob: c7cae61eebe707ee163516fb868e08b7b574c6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- 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