aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-12-08 16:54:10 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-12-09 17:45:44 -0500
commit57aa0f7fc5257a3b3b4366980b5360e67181acd5 (patch)
treeb0e9a1e0982b573331706012ec15379fd86476d2 /Makefile
parent803798baf5485f7201b9a433a4d41f6ac82fca07 (diff)
downloadlibtracefs-57aa0f7fc5257a3b3b4366980b5360e67181acd5.tar.gz
libtracefs: Have make clean remove the .so.X file
"make clean" was leaving behind libtracefs.so.0, in the lib/tracefs directory. Add $(bdir)/*.so.* to the remove line to catch these files as well. Link: https://lore.kernel.org/linux-trace-devel/20201208215505.161440243@goodmis.org Acked-by: Tzvetomir (VMware) Stoyanov <tz.stoyanov@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index be57682..5d11abc 100644
--- a/Makefile
+++ b/Makefile
@@ -285,7 +285,7 @@ $(bdir)/libtracefs.so.$(TRACEFS_VERSION): force
clean:
$(MAKE) -C $(src)/utest clean
$(MAKE) -C $(src)/src clean
- $(RM) $(TARGETS) $(bdir)/*.a $(bdir)/*.so $(bdir)/*.o $(bdir)/.*.d
+ $(RM) $(TARGETS) $(bdir)/*.a $(bdir)/*.so $(bdir)/*.so.* $(bdir)/*.o $(bdir)/.*.d
$(RM) $(PKG_CONFIG_FILE)
.PHONY: clean