automake
[Top][All Lists]
Advanced

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

ylwrap and flex --header-file


From: Jan Engelhardt
Subject: ylwrap and flex --header-file
Date: Wed, 25 Mar 2009 00:16:12 +0100 (CET)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

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




reply via email to

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