forked from osmocom/wireshark
Use the "-o" flag, rather than using the "-t" flag and redirecting the
standard output, in the rules to get Flex to produce scanner code; that way, if Flex fails to run for some reason, we don't leave around a zero-length or otherwise incorrect "XXX-scanner.c" file that might keep a subsequent make from thinking it has to generate that file. svn path=/trunk/; revision=1808
This commit is contained in:
parent
88a4741106
commit
fc88999155
|
@ -33,7 +33,7 @@ ascend-grammar.c ascend-grammar.h : ascend-grammar.y
|
|||
ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
|
||||
|
||||
ascend-scanner.c : ascend-scanner.l
|
||||
$(LEX) -Pascend -t ascend-scanner.l > ascend-scanner.c
|
||||
$(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
|
||||
|
||||
|
||||
config.h : config.h.win32
|
||||
|
|
Loading…
Reference in New Issue