about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-22 06:21:26 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-22 06:21:26 +0000
commit85512739f7e22aacbca07f6dae877b3c7d3efe12 (patch)
tree64dcfad194df7dea0a197e3c604d5bdd2e627cee /GNUmakefile
parent085af102335261bd887a5ac1588fc411394f54a9 (diff)
downloadnetpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.tar.gz
netpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.tar.xz
netpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.zip
Fix parallel make
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1297 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cc90672c..d6745eaf 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -98,8 +98,14 @@ nonmerge: $(PRODUCT_SUBDIRS:%=%/all)
 # make works for 'make all' in the top directory, but it may still fail
 # for the aforementioned reason for other invocations.
 
-$(SUBDIRS:%=%/all): pm_config.h inttypes_netpbm.h version.h
+$(SUBDIRS:%=%/all) lib/util/all: pm_config.h inttypes_netpbm.h version.h
 $(PROG_SUBDIRS:%=%/all): lib/all $(SUPPORT_SUBDIRS:%=%/all)
+lib/all: lib/util/all
+
+.PHONY: lib/util/all
+lib/util/all:
+	$(MAKE) -C lib/util -f $(SRCDIR)/lib/util/Makefile \
+	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) all
 
 OMIT_CONFIG_RULE = 1
 OMIT_VERSION_H_RULE = 1