aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake.inc
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-04 02:13:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-04 02:13:52 +0000
commit9291891faa5a1c8e1aa0d362dc38cfc33f80991f (patch)
tree5f15006cef3d366c1ffb3840f5fda428c28ed2ab /Makefile.nmake.inc
parente96687e6b1d5c273ccea4ad31dfedbb045f5f8e9 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22446 f5534014-38df-0310-8fa8-9805f1628bb7
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$@ $<