I use flex and bison with Dev-Cpp, and I just used a custom makefile to add
these dependencies. two targets defined in Dev-Cpp are used: all-before and
clean-custom
this is my sample custom makefile:
all-before:: build/lex.yy.cc build/yaccfile.cpp
build/lex.yy.cc: parser.lex build/yaccfile.cpp
flex -obuild/lex.yy.cc parser.lex
build/yaccfile.cpp: parser.yacc
bison -d -obuild/yaccfile.cpp parser.yacc
clean-custom::
rm -f build/lex.yy.cc build/yaccfile.cpp build/yaccfile.hpp
----- Original Message -----
From: "Pierre Raoul" <pie...@wa...>
To: <dev...@li...>
Sent: Thursday, March 06, 2003 11:08 AM
Subject: [Dev-C++] flex/bison
Hello,
How to manage dependency relations with flex/bison files in Dev-Cpp? A long
time ago, I already asked this question, without any answer. Perhaps now,
somebody will have any idea about this issue...
Thanks
Pierre Raoul
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|