This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Makefile.in (clean): rm -f $(DEPDIR)/*.
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> make: *** No rule to make target `../../../src/gdb/signals/signals.c',
Doug> needed by `signals.o'. Stop.
Doug> This is because signals.c has moved, but .deps/mumble still refers to
Doug> the old location.
Thanks, I see.
Your patch is ok.
It is interesting that I have never run across this particular failure
before. This style of dependency tracking has been in use for a long
time...
I think the underlying problem is a bug in gcc. I think -MP ought to
emit a dummy target for the primary source file as well. I made a
note to fix this in libcpp.
Tom