On Thu, Nov 26, 2009 at 3:44 PM, Allan Odgaard <[email protected]> wrote: > On 26 Nov 2009, at 22:29, Peng Yu wrote: > >>> [...] >> >> This solution seems awkward to me. There maybe not be a good pattern that >> catch both a and b. Should gnu make have a more natural solution to this >> problem? > > I had the problem with ANTLR which is a parser-generator and generates > multiple files. > > I ended up with a solution a la: > > grammar.cpp: grammar.g > antlr … > lexer.cpp: grammar.cpp > touch $@ > > Here antlr generates both grammar.cpp + lexer.cpp, but as far as make knows, > lexer.cpp is generated from grammar.cpp which is what depends on grammar.g.
Is there any plan in the gnu make development team to add the support of multiple targets in the future? _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
