aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake.inc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-08-04 02:13:52 +0000
committerGuy Harris <guy@alum.mit.edu>2007-08-04 02:13:52 +0000
commit5be4499ad19b66e1626f6c6eb1849803e08126d6 (patch)
tree5f15006cef3d366c1ffb3840f5fda428c28ed2ab /Makefile.nmake.inc
parent2d11b0813e23d01c27975755f39f2457e4da5c90 (diff)
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
Diffstat (limited to 'Makefile.nmake.inc')
-rw-r--r--Makefile.nmake.inc2
1 files changed, 1 insertions, 1 deletions
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$@ $<