[CRIU] [PATCH 21/24] compel/test/infect/Makefile: fix a dependency
Kir Kolyshkin
kir at openvz.org
Sat Dec 17 03:22:14 PST 2016
Commit 8173ea2 ("compel/test/infect/Makefile: don't add .h to sources")
was a bad one as it removed dependency between parasite.h and spy binary.
Fix it.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
compel/test/infect/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compel/test/infect/Makefile b/compel/test/infect/Makefile
index e08fa79..4ad8fd0 100644
--- a/compel/test/infect/Makefile
+++ b/compel/test/infect/Makefile
@@ -17,8 +17,8 @@ clean:
victim: victim.c
$(CC) $(CFLAGS) -o $@ $^
-spy: spy.c | parasite.h
- $(CC) $(CFLAGS) $(shell $(COMPEL) includes) -o $@ $^ $(COMPEL_LIBRARY)
+spy: spy.c parasite.h
+ $(CC) $(CFLAGS) $(shell $(COMPEL) includes) -o $@ $< $(COMPEL_LIBRARY)
parasite.h: parasite.po
$(COMPEL) hgen -f $^ -l 4 \
--
2.7.4
More information about the CRIU
mailing list