|
From: Pierre R. <pie...@wa...> - 2003-03-08 09:17:52
|
Erwan, Your information was very helpful. Thanks Pierre "erwan ancel" <erw...@fr...> on Thu, 6 Mar 2003 20:59:52 +0100 = wrote: > I use flex and bison with Dev-Cpp, and I just used a custom=20 > makefile to add > these dependencies. two targets defined in Dev-Cpp are used:=20 > all-before and > clean-custom >=20 > this is my sample custom makefile: >=20 >=20 >=20 > all-before:: build/lex.yy.cc build/yaccfile.cpp >=20 > build/lex.yy.cc: parser.lex build/yaccfile.cpp > flex -obuild/lex.yy.cc parser.lex >=20 > build/yaccfile.cpp: parser.yacc > bison -d -obuild/yaccfile.cpp parser.yacc >=20 > clean-custom:: > rm -f build/lex.yy.cc build/yaccfile.cpp build/yaccfile.hpp =20 |