[RFA] Makefile.in (clean): rm -f $(DEPDIR)/*.

Doug Evans dje@google.com
Mon Mar 2 00:10:00 GMT 2009


Hi.

IWBN if "make clean" cleared out .deps/*.

Otherwise when something gets moved then dependencies still refer to
the old place and require the equivalent of a "make distclean"
to get make working again (which is a bit heavyweight).
IWBN if "make clean" was sufficient.

Ok to check in?

2009-03-01  Doug Evans  <dje@google.com>

	* Makefile.in (clean): rm -f $(DEPDIR)/*.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1068
diff -u -p -r1.1068 Makefile.in
--- Makefile.in	17 Feb 2009 17:56:50 -0000	1.1068
+++ Makefile.in	2 Mar 2009 00:05:29 -0000
@@ -1124,6 +1124,7 @@ clean mostlyclean: $(CONFIG_CLEAN)
 	rm -f gdb[0-9]$(EXEEXT)
 	rm -f test-cp-name-parser$(EXEEXT)
 	rm -f xml-builtin.c stamp-xml
+	rm -f $(DEPDIR)/*
 
 .PHONY: clean-tui
 clean-tui:



More information about the Gdb-patches mailing list