mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 21:07:43 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Tested-by: Andrew Vagin <avagin@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
e970fccb69
commit
d01025edd9
@ -1,7 +1,15 @@
|
|||||||
SUBDIRS = lib live
|
SUBDIRS = lib live
|
||||||
|
|
||||||
default: all
|
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
|
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
|
||||||
|
@ -18,7 +18,8 @@ all: $(LIB)
|
|||||||
install: all
|
install: all
|
||||||
.PHONY: all install
|
.PHONY: all install
|
||||||
|
|
||||||
$(LIB): $(LIB)(${LIBOBJ})
|
$(LIB): $(LIBOBJ)
|
||||||
|
$(Q) ar rv $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -f $(LIBOBJ) $(LIB) *~
|
$(RM) -f $(LIBOBJ) $(LIB) *~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user