autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison and flex target


From: Philip Herron
Subject: Bison and flex target
Date: Fri, 03 Apr 2009 13:51:50 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey

I am not sure if this is autoconf or automake.

But i have a project and i have bison/yacc and lex/flex targets to compile.

I see there is AC_PROG_YACC and AC_PROG_LEX to get the apropriate
programs for the configure.ac. But how do you go about adding them as
build targets so:

yacc -d foo.yy
lex foo.l

are run to get y.tab.{c,h} and lex.yy.c

Is it a special Makefile.am target or something? Thanks loads for any
links would be nice :)

- -Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknWBmIACgkQAhcOgIaQQ2EJlwCcCSXphY/3YcKSv5V//U8k8JFE
ynYAn1LclvHxOLx0ff7qqLIZXAKbEMbI
=Z1ol
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]