diff --git a/examples/c/calc/local.mk b/examples/c/calc/local.mk index af06905a..6d930dae 100644 --- a/examples/c/calc/local.mk +++ b/examples/c/calc/local.mk @@ -23,6 +23,7 @@ check_PROGRAMS += %D%/calc TESTS += %D%/calc.test EXTRA_DIST += %D%/calc.test %C%_calc_SOURCES = %D%/calc.y +%D%/calc.c: $(dependencies) # Don't use gnulib's system headers. %C%_calc_CPPFLAGS = -I$(top_srcdir)/%D% -I$(top_builddir)/%D% diff --git a/examples/c/lexcalc/local.mk b/examples/c/lexcalc/local.mk index bb690826..85cdb077 100644 --- a/examples/c/lexcalc/local.mk +++ b/examples/c/lexcalc/local.mk @@ -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% diff --git a/examples/c/mfcalc/local.mk b/examples/c/mfcalc/local.mk index a054f2c1..0beb8dfc 100644 --- a/examples/c/mfcalc/local.mk +++ b/examples/c/mfcalc/local.mk @@ -28,6 +28,7 @@ extracted += $(mfcalc_extracted) check_PROGRAMS += %D%/mfcalc nodist_%C%_mfcalc_SOURCES = $(mfcalc_sources) +%D%/mfcalc.c: $(dependencies) # Don't use gnulib's system headers. %C%_mfcalc_CPPFLAGS = -I$(top_srcdir)/%D% -I$(top_builddir)/%D% %C%_mfcalc_LDADD = -lm diff --git a/examples/c/rpcalc/local.mk b/examples/c/rpcalc/local.mk index 3bab2889..bda0ba67 100644 --- a/examples/c/rpcalc/local.mk +++ b/examples/c/rpcalc/local.mk @@ -28,6 +28,7 @@ extracted += $(rpcalc_extracted) check_PROGRAMS += %D%/rpcalc nodist_%C%_rpcalc_SOURCES = $(rpcalc_sources) +%D%/rpcalc.c: $(dependencies) # Don't use gnulib's system headers. %C%_rpcalc_CPPFLAGS = -I$(top_builddir)/%D% %C%_rpcalc_LDADD = -lm