Hi,
when one uses --header-file in conjunction with ylwrap, the header file is produced in the temporary directory ylwrap runs in instead of ${srcdir}. I think this should be addresses somehow - I'm open to suggestions or ideas on how this could be tackled. One way would probably just to add ../ in the right place. # -*- Makefile -*- AM_LFLAGS = --header-file=$(<:.l=.h) foo_SOURCES = scanner.l main.c scanner.h: scanner.l /* main.c */ #include "scanner.h" main_program_here