Linux Trace Development
 help / color / mirror / Atom feed
* PATCH] libtracefs: Remove dependency files on make clean
@ 2021-12-18  2:58 Steven Rostedt
  0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2021-12-18  2:58 UTC (permalink / raw)
  To: Linux Trace Devel

From: Steven Rostedt <rostedt@goodmis.org>

Make clean left behind the dependency files .*.d on make clean, which can
cause havoc when trying to build after doing a checkout to another branch.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 985744ba1118..e8afab50bafb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -58,7 +58,7 @@ $(OBJS): | $(bdir)
 $(DEPS): | $(bdir)
 
 clean:
-	$(Q)$(call do_clean,$(OBJS))
+	$(Q)$(call do_clean,$(OBJS) .*.d)
 
 dep_includes := $(wildcard $(DEPS))
 
-- 
2.33.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-18  2:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-18  2:58 PATCH] libtracefs: Remove dependency files on make clean Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox