mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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>
20 lines
262 B
Makefile
20 lines
262 B
Makefile
include ../common.mak
|
|
|
|
lib = libvmcp.a
|
|
|
|
examples = vmcp_example
|
|
|
|
all: $(lib)
|
|
examples: $(lib) $(examples)
|
|
|
|
objects = vmcp.o
|
|
|
|
$(lib): $(objects)
|
|
|
|
install: all
|
|
|
|
vmcp_example: vmcp_example.o $(lib) $(rootdir)/libutil/libutil.a
|
|
|
|
clean:
|
|
rm -f *.o $(lib) $(examples)
|