aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-03-29 19:55:51 +0000
committerGuy Harris <guy@alum.mit.edu>2000-03-29 19:55:51 +0000
commita91805901f722f6be5c048320f4db80155ed5334 (patch)
treed147879cb5dc61fb2257b73a1df272cfdeef3bd4 /wiretap
parentca71c851dd362cfc369c35c151099a64510c24d1 (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=1763
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am
index 2f677da6a9..78b0bf4b07 100644
--- a/wiretap/Makefile.am
+++ b/wiretap/Makefile.am
@@ -1,7 +1,7 @@
# Makefile.am
# Automake file for Wiretap
#
-# $Id: Makefile.am,v 1.26 2000/01/13 07:09:15 guy Exp $
+# $Id: Makefile.am,v 1.27 2000/03/29 19:55:51 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
@@ -78,4 +78,4 @@ EXTRA_DIST = \
YFLAGS=-d -p ascend
ascend-scanner.c : ascend-scanner.l
- $(LEX) -Pascend -t $(srcdir)/ascend-scanner.l > ascend-scanner.c
+ $(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l