From 5be4499ad19b66e1626f6c6eb1849803e08126d6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 4 Aug 2007 02:13:52 +0000 Subject: Add a script as a front-end for Flex, to work around various problems, such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446 --- Makefile.nmake.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.nmake.inc') diff --git a/Makefile.nmake.inc b/Makefile.nmake.inc index 8dc5e2ef0a..545e3c5026 100644 --- a/Makefile.nmake.inc +++ b/Makefile.nmake.inc @@ -24,4 +24,4 @@ .SUFFIXES: .l .l.c: - $(LEX) -o$@ $< + $(SH) $(RUNLEX) "$(LEX)" -o$@ $< -- cgit v1.2.3