examples: depend on Bison's sources

* examples/c/calc/local.mk, examples/c/lexcalc/local.mk,
* examples/c/mfcalc/local.mk, examples/c/rpcalc/local.mk:
Regenerate the files if dependencies have changed.
This commit is contained in:
Akim Demaille
2019-02-10 19:41:08 +01:00
parent 1997093e21
commit 8cbf3ce22c
4 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ check_PROGRAMS += %D%/lexcalc
TESTS += %D%/lexcalc.test
EXTRA_DIST += %D%/lexcalc.test
%C%_lexcalc_SOURCES = %D%/parse.y %D%/parse.h %D%/scan.l
%D%/lexcalc.c: $(dependencies)
# Don't use gnulib's system headers.
%C%_lexcalc_CPPFLAGS = -I$(top_srcdir)/%D% -I$(top_builddir)/%D%