diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-04-28 10:48:13 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-04-28 18:56:09 +0000 |
commit | 363507ea18e154d76654f0d811e89e041273f835 (patch) | |
tree | a8ea2a14588e2c69dffd7bc92b8013b38ff3ef23 /Makefile.am.inc | |
parent | b3e70f9a7e91c7b462336f875c26965faedf1953 (diff) |
Add a rule to build lemon so any target that depends on it can (re)build it if necessary.
See, for example:
https://ask.wireshark.org/questions/52045/make-c-plugins-fails-looking-for-target-toolslemonlemonc
Also add another lemon dependency for MATE.
Change-Id: Ifc62e174fb6dc4247887607ad37a505b36d83134
Reviewed-on: https://code.wireshark.org/review/15143
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'Makefile.am.inc')
-rw-r--r-- | Makefile.am.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am.inc b/Makefile.am.inc index 0f39785c9a..7f8e3d3629 100644 --- a/Makefile.am.inc +++ b/Makefile.am.inc @@ -22,8 +22,10 @@ AUTOMAKE_OPTIONS = -Wno-portability lemon_srcdir = $(top_srcdir)/tools/lemon - -LEMON = $(top_builddir)/tools/lemon/lemon$(EXEEXT) +lemon_builddir = $(top_builddir)/tools/lemon +LEMON = $(lemon_builddir)/lemon$(EXEEXT) +$(LEMON): + cd $(lemon_builddir) && $(MAKE) RUNLEX = $(top_srcdir)/tools/runlex.sh |