diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-03-29 19:55:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-03-29 19:55:51 +0000 |
commit | a91805901f722f6be5c048320f4db80155ed5334 (patch) | |
tree | d147879cb5dc61fb2257b73a1df272cfdeef3bd4 | |
parent | ca71c851dd362cfc369c35c151099a64510c24d1 (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
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | wiretap/Makefile.am | 4 |
2 files changed, 4 insertions, 4 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 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 |