aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
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 /Makefile.am
parentca71c851dd362cfc369c35c151099a64510c24d1 (diff)
downloadwireshark-a91805901f722f6be5c048320f4db80155ed5334.tar.gz
wireshark-a91805901f722f6be5c048320f4db80155ed5334.tar.bz2
wireshark-a91805901f722f6be5c048320f4db80155ed5334.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=1763
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 55fbf05e21..99934a6a6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
# Makefile.am
# Automake file for Ethereal
#
-# $Id: Makefile.am,v 1.175 2000/03/09 18:31:49 ashokn Exp $
+# $Id: Makefile.am,v 1.176 2000/03/29 19:55:42 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
@@ -549,7 +549,7 @@ editcap.1: doc/editcap.pod
$(MAKE) ../editcap.1 )
dfilter-scanner.c : dfilter-scanner.l
- $(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c
+ $(LEX) -Pdfilter_ -odfilter-scanner.c $(srcdir)/dfilter-scanner.l
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck