Add a script as a front-end for Flex, to work around various problems,
[metze/wireshark/wip.git] / wiretap / Makefile.nmake
index 26170c68beb1ba6e8256ccdf5ed896fcbe8187a4..fdf2e627bdfb08332c077c7ddb0e85a474b19f9e 100644 (file)
@@ -40,13 +40,17 @@ wiretap-$(WTAP_VERSION).dll : $(OBJECTS) wtap.def ..\image\wiretap.res
 
 $(OBJECTS): config.h
 
-ascend-grammar.c ascend-grammar.h : ascend-grammar.y
-       $(YACC) $(YACC_OPTS) -d -p ascend ascend-grammar.y -o ascend-grammar.c
+RUNLEX = ..\runlex.sh
 
+ascend-scanner_lex.h : ascend-scanner.c
 ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
 
+k12text_lex.h : k12text.c
 k12text.obj : k12text.c
 
+ascend-grammar.c ascend-grammar.h : ascend-grammar.y
+       $(YACC) $(YACC_OPTS) -d -p ascend ascend-grammar.y -o ascend-grammar.c
+
 config.h       : config.h.win32 ..\config.nmake
        sed -e s/@VERSION@/$(WTAP_VERSION)/ \
            -e "s/@HAVE_LIBZ@/$(ZLIB_CONFIG)/" \