The following links might help you: http://gcc.gnu.org/wiki/Regenerating_GCC_Configuration http://www.cs.swarthmore.edu/~newhall/unixhelp/howto_makefiles.html -- Deepti > -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of Amittai Aviram > Sent: 18 June 2012 22:27 > To: gcc-help@xxxxxxxxxxx > Subject: Changing GCC's top-level Makefile > > This is slightly off topic, because it's really about Automake--so, > though I'd be grateful for an answer, I'd also appreciate a reference > to some other source. > > I would like to add a build target and rule to GCC's top-level > Makefile. How do I change Makefile.def so that the Makefile I get > after running configure will contain my new target and rule? Thanks! > > Amittai Aviram > PhD Student in Computer Science > Yale University > 646 483 2639 > amittai.aviram@xxxxxxxx > http://www.amittai.com