diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-06 06:19:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-06 06:19:42 +0000 |
commit | fc889991558946f6afc238966a6bf55d13cb0cc9 (patch) | |
tree | 6fac47451a22fc2800aad9df9251ac954e9cada9 | |
parent | 88a47411063074cc6c84d7a105a281efb14c96c2 (diff) | |
download | wireshark-fc889991558946f6afc238966a6bf55d13cb0cc9.tar.gz wireshark-fc889991558946f6afc238966a6bf55d13cb0cc9.tar.bz2 wireshark-fc889991558946f6afc238966a6bf55d13cb0cc9.zip |
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
-rw-r--r-- | wiretap/Makefile.nmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake index 9d6dc81a8c..3a79aeb7e8 100644 --- a/wiretap/Makefile.nmake +++ b/wiretap/Makefile.nmake @@ -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 |