This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]