14612Re: [antlr-interest] C++ file timestamps and makefiles
- Dec 16, 2004On Thu, 16 Dec 2004 18:32:09 +0000, Stuart Dootson
> I've observed that behaviour - I thought I remembered there being aThere's no switch for it.
> command-line switch or option to alter the behaviour, but I can't find
> it now :-(
> What I do is to delete any Antlr outputs before running Antlr,You can also use a timestamp file that you touch after running antlr.
> ensuring they are all generated again. Unless I do this, Visual Studio
> & make think that the Antlr outputs are always out of date and need
> regenerating. Here's an example from a makefile rule - it uses cantlr,
> not the Java Antlr, but it's the same principle.
Then set up dependencies from that. (As was mentioned in the last
thread on Makefile's and is done in the Makefile's from antlr itself)
Probably doesn't work for VC though.
- << Previous post in topic Next post in topic >>