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] |
Hello,
The redundancy this removes has bugged me for a long time :-)
The attached adds replaces per-language explicit lex/yacc rules with implicit .y.c and .l.c rules. Note that in doing this I changed the code so that it refers to LANG-exp.tab.c instead of LANG-exp.c.
Tested with [Net]BSD/Make and GNU/Make.
2004-02-08 Andrew Cagney <cagney@redhat.com>
* Makefile.in: (.SUFFIXES): Add ".l" and ".y". (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate .c. Update references. Delete unnecessary .tab.c and -lex.c rules. (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule. (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |