[sheepdog] [PATCH] lib: clean up lib/*.o files for 'make clean'

Liu Yuan namei.unix at gmail.com
Fri Apr 3 04:58:14 CEST 2015


From: Liu Yuan <liuyuan at cmss.chinamobile.com>

This will kill a hidden build problem because of stale .o in libsheepdog.a

Signed-off-by: Liu Yuan <liuyuan at cmss.chinamobile.com>
---
 lib/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index e1dfb1b..a630977 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -53,5 +53,6 @@ check-style:
 libisa.a:
 	cd isa-l/ && $(MAKE) && cd ..
 
-clean:
+clean-local:
+	rm -f *.o gmon.out *.da *.bb *.bbg
 	cd isa-l/ && $(MAKE) clean && cd ..
-- 
1.9.1




More information about the sheepdog mailing list