[CRIU] [PATCH 4/6] test/zdtm: clean get_smaps_bits.d

Kir Kolyshkin kir at openvz.org
Tue May 2 16:51:45 PDT 2017


This is an auxiliary source file. The corresponding object file was
cleaned, but .d was not. Add it to SRC/OBJ/DEP so the appropriate files
will be cleaned automatically.

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

diff --git a/test/zdtm/static/Makefile b/test/zdtm/static/Makefile
index 6ca18f3..fca179a 100644
--- a/test/zdtm/static/Makefile
+++ b/test/zdtm/static/Makefile
@@ -306,8 +306,9 @@ TST_STATE	=				\
 		conntracks			\
 		route_rules			\
 
+AUX_SRC	= get_smaps_bits.c
 
-SRC	= $(TST:%=%.c)
+SRC	= $(TST:%=%.c) $(AUX_SRC)
 OBJ	= $(SRC:%.c=%.o)
 DEP	= $(SRC:%.c=%.d)
 PID	= $(TST:%=%.pid)
@@ -463,7 +464,7 @@ $(LIB):	force
 	$(Q) $(MAKE) -C $(LIBDIR)
 
 clean-more:
-	$(RM) criu-rtc.so criu-rtc.pb-c.c criu-rtc.pb-c.h get_smaps_bits.o
+	$(RM) criu-rtc.so criu-rtc.pb-c.c criu-rtc.pb-c.h
 .PHONY: clean-more
 clean: clean-more
 
-- 
2.9.3



More information about the CRIU mailing list