Skip to contentSkip to conversation

PATCH] libtracefs: Remove dependency files on make clean

PATCH Steven Rostedt 1 participant 1 message Dec 18, 2021

lore
Share & tools
lore
#0 lore raw

From: Steven Rostedt <[email protected]>

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.

---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/Makefile +1 -1
index 985744ba1118..e8afab50bafb 100644
@@ -58,7 +58,7 @@ $(OBJS): | $(bdir)
 $(DEPS): | $(bdir)
 
 clean:
-	$(Q)$(call do_clean,$(OBJS))
+	$(Q)$(call do_clean,$(OBJS) .*.d)
 
 dep_includes := $(wildcard $(DEPS))
 
Signature · 1 line
2.33.0