[CRIU] [PATCH 6/9] test/zdtm/static/Makefile: drop .o for flags

Kir Kolyshkin kir at openvz.org
Wed Mar 29 15:21:17 PDT 2017


Makefile knows that a binary depends on .o file,
and the .o file depends on .c file, and adds the
per-target variables even in the indirect case.
Therefore, .o suffix is not needed here.

Note that it not hurts to leave it as is, so this commit
is done only for the sake of keeping things simple.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 test/zdtm/static/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/zdtm/static/Makefile b/test/zdtm/static/Makefile
index 8bc0baf..8614372 100644
--- a/test/zdtm/static/Makefile
+++ b/test/zdtm/static/Makefile
@@ -393,9 +393,9 @@ $(TST):	| $(LIB)
 
 aio00:			LDLIBS += -laio
 different_creds:	LDLIBS += -lcap
-futex.o:		CFLAGS += -pthread
+futex:			CFLAGS += -pthread
 futex:			LDFLAGS += -pthread
-futex-rl.o:		CFLAGS += -pthread
+futex-rl:		CFLAGS += -pthread
 futex-rl:		LDFLAGS += -pthread
 jobctl00:		LDLIBS += -lutil
 socket_listen:		LDLIBS += -lrt -pthread
-- 
2.9.3



More information about the CRIU mailing list