commit | 326f526e1b87a2b18d7175c88bdebc418be06ad6 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue Jan 25 14:57:18 2022 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Tue Feb 01 11:39:24 2022 -0700 |
tree | 16cf60009b7a1f842c498dd1780b4446b4d0037d | |
parent | cd393cec3ab21f6e8b984dea5dafe2c7a5aec892 [diff] |
Fix flex rule in gdb Currently, if flex fails, it will leave the resulting .c file in the tree. This will cause a cascade of errors, and requires the manual deletion of the .c file in order to recreate the problem. It's better for the rule to fail such that the .c file is not updated. This way, 'make' will fail the same way every time -- which is much handier for debugging syntax errors. This fix just updates the Makefile rule to follow the way that the "yacc" rule already works.