aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-06 06:19:42 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-06 06:19:42 +0000
commitfc889991558946f6afc238966a6bf55d13cb0cc9 (patch)
tree6fac47451a22fc2800aad9df9251ac954e9cada9 /wiretap
parent88a47411063074cc6c84d7a105a281efb14c96c2 (diff)
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
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.nmake2
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