Aidan, > Automake does not seem to differenciate between flex generated c++ files and c > files
Not if it has to guess. Use .ll or .l++ as the extension for your lex file, drop the -+ and watch it work. :-) Reason behind that: automake needs to know at Makefile.in generation time which compilers it will need. Thus, every language needs different extensions, and if the files are generated, automake needs to know which extensions the generated files will have. Simon -- GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD ADC6 18A0 CC8D 5706 A4B4
msg06528/pgp00000.pgp
Description: PGP signature