mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Makefile: Fix parallel build (2nd try)
Commit851f685993("Makefile: Add dependency between libvmcp and libutil to fix -j builds") introduced the following regression $ make clean CLEAN /home2/holzheu/src/s390-tools ... CLEAN libccw CC libutil/util_base.o CC libutil/util_path.o For the "clean" target the new library dependency triggers a build of libutil. So remove the dependency again. To fix the parallel build issue, no longer build the examples with "make all" and add a new target "examples" that can now be used for building the example programs. Fixes:851f685993("Makefile: Add dependency between libvmcp and libutil to fix -j builds") Signed-off-by: Michael Holzheu <holzheu@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
4951044213
commit
8cbdfebc4f
@@ -13,7 +13,8 @@ examples = util_base_example \
|
||||
util_prg_example \
|
||||
util_rec_example
|
||||
|
||||
all: $(lib) $(examples)
|
||||
all: $(lib)
|
||||
examples: $(lib) $(examples)
|
||||
|
||||
objects = util_base.o \
|
||||
util_path.o \
|
||||
|
||||
Reference in New Issue
Block a user