diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2013-02-12 17:25:28 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2013-02-12 17:25:28 +0000 |
commit | 486c6d54453dc19f4d76f52076dd1a1b181c1b68 (patch) | |
tree | 1a1b147c363288ed65cb49f1a9811c0f87f1f5f3 /epan/dfilter | |
parent | a99e6fe84214289fc4d69fa9edfbcaa9ad5b6244 (diff) |
Fix the grammar.h/grammar.c/grammar.lemon dependency so that
grammar.h is not always out of date. Use the same pattern as in the
Makefile.nmake files
svn path=/trunk/; revision=47643
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am index 3cc0d8a9e9..88528568c3 100644 --- a/epan/dfilter/Makefile.am +++ b/epan/dfilter/Makefile.am @@ -79,10 +79,10 @@ scanner.lo: grammar.h LEMON=../../tools/lemon -grammar.c grammar.h : $(LEMON)/lemon$(EXEEXT) $(srcdir)/$(LEMON)/lempar.c $(srcdir)/grammar.lemon +grammar.h : grammar.c +grammar.c : $(LEMON)/lemon$(EXEEXT) $(srcdir)/$(LEMON)/lempar.c $(srcdir)/grammar.lemon $(AM_V_LEMON)$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/grammar.lemon || \ (rm -f grammar.c grammar.h ; false) -grammar.h : grammar.c checkapi: $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \ |