diff --git a/Makefile.am b/Makefile.am index b3cc48a061..0576d40862 100644 --- a/Makefile.am +++ b/Makefile.am @@ -134,7 +134,7 @@ endif packcc_verbose = $(packcc_verbose_@AM_V@) packcc_verbose_ = $(packcc_verbose_@AM_DEFAULT_V@) packcc_verbose_0 = @echo PACKCC " $@"; -PACKCC = $(srcdir)/packcc$(EXEEXT) +PACKCC = $(top_builddir)/packcc$(EXEEXT) SUFFIXES += .peg .peg.c: $(packcc_verbose)$(PACKCC) $<