Re: flex -lfl

2000-03-24 Thread Sascha Ziemann
Bob Friesenhahn <[EMAIL PROTECTED]> writes: | Use LIBADD rather than LIBS. LIBS use used by all libraries, while | LIBADD must be specified individually for each library. Akim Demaille <[EMAIL PROTECTED]> writes: | Just don't use -lfl at all. I don't specify -lfl and I don't use LIBS, so I ca

flex -lfl

2000-03-23 Thread Sascha Ziemann
Hi, I have defined two programs: bin_PROGRAMS = rlpd rlpc rlpd_SOURCES = rlpd.c rlp.c errwrap.c conf_parser.y conf_lexer.l rlpc_SOURCES = rlpc.c rlp.c errwrap.c One needs -lfl and the other not. But the makefile generated by automake compiles it in this way: gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\

yacc and flex

2000-03-22 Thread Sascha Ziemann
Hi, I am trying to create a lex/yacc program with automake support. I was used to include the output from flex into the yacc file. So the token definitions of yacc are visible for flex. But when I use automake the Makefile wants to compile it this order: flex conf_lexer.l && mv lex.yy.c conf