Commit d01025ed authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

zdtm: Force lib to be built before live targets

It's ugly but should work for now. Strictly speaking
I need to rework the complete make engine used in
zdtm.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Tested-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent e970fccb
SUBDIRS = lib live
default: all
.PHONY: default
.PHONY: default lib live
lib:
$(MAKE) -C lib all
live: lib
$(MAKE) -C live all
all: lib live
@true
%:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
......@@ -18,7 +18,8 @@ all: $(LIB)
install: all
.PHONY: all install
$(LIB): $(LIB)(${LIBOBJ})
$(LIB): $(LIBOBJ)
$(Q) ar rv $@ $^
clean:
$(RM) -f $(LIBOBJ) $(LIB) *~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment