about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9066f2a7..f923aa1f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -103,10 +103,13 @@ $(PROG_SUBDIRS:%=%/all): lib/all $(SUPPORT_SUBDIRS:%=%/all)
 lib/all: lib/util/all
 
 .PHONY: lib/util/all
-lib/util/all:
+lib/util/all: lib/util
 	$(MAKE) -C lib/util -f $(SRCDIR)/lib/util/Makefile \
 	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) all
 
+lib/util: lib
+	mkdir $@
+
 OMIT_CONFIG_RULE = 1
 OMIT_VERSION_H_RULE = 1
 OMIT_INTTYPES_RULE = 1