mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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:
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user