aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/Makefile.local
diff options
context:
space:
mode:
Diffstat (limited to 'util/Makefile.local')
-rw-r--r--util/Makefile.local11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/Makefile.local b/util/Makefile.local
new file mode 100644
index 00000000..2ff42b3d
--- /dev/null
+++ b/util/Makefile.local
@@ -0,0 +1,11 @@
+# -*- 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 $@ $^