Commit ac5c2974 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

Makefile: test target should depend on crtools

Otherwise 'make test' fails on a clean tree because crtools is not built.

Side effect: if you have code modifications that are not yet compiled,
they will be compiled.
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent fb886b7d
...@@ -133,11 +133,11 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN) ...@@ -133,11 +133,11 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN)
%.d: %.c %.d: %.c
$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@ $(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
test-legacy: test-legacy: $(PROGRAM)
$(Q) $(MAKE) -C test/legacy all $(Q) $(MAKE) -C test/legacy all
.PHONY: test-legacy .PHONY: test-legacy
zdtm: zdtm: $(PROGRAM)
$(Q) $(MAKE) -C test/zdtm all $(Q) $(MAKE) -C test/zdtm all
.PHONY: zdtm .PHONY: zdtm
......
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