This is the mail archive of the gdb-patches@sources.redhat.com 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] |
Date: Sun, 07 Mar 2004 19:35:34 -0500From: Andrew Cagney <cagney@gnu.org>
The attached, er, hack, modifies configure.in so that all the Makefile dependencies are generated during configure time:
defs_h = ... foo.o: foo.c $(defs_h)
It exploits the fact that GDB's code base is very consistent in its use of "foo.h" vs <foo.h> -- the former is assumed to be local, the latter in a system library.
Won't it be better to use "gcc -MM" when we compile with GCC?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |