From: Andrea Zagli Date: Mon, 6 Oct 2014 09:58:23 +0000 (+0200) Subject: Added absolute path in makefile. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=60b13543d98a1381be2079d40c2f71e9ffbd16b5;p=reptool%2Flibreptool Added absolute path in makefile. --- diff --git a/src/Makefile.am b/src/Makefile.am index b3ec294..b4740e5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,20 +4,20 @@ AM_CPPFLAGS = $(REPTOOL_CFLAGS) \ -DG_LOG_DOMAIN=\"libreptool\" parser.tab.c parser.tab.h: parser.y - bison -d parser.y + bison -d $(srcdir)/parser.y lexycal.yy.c lexycal.yy.h: lexycal.fl - flex -o lexycal.yy.c --header-file=lexycal.yy.h lexycal.fl + flex -o $(srcdir)/lexycal.yy.c --header-file=$(srcdir)/lexycal.yy.h $(srcdir)/lexycal.fl lib_LTLIBRARIES = libreptool.la libreptool_la_LDFLAGS = -no-undefined rptmarshal.c: rptmarshal.h reptool_marshal.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) reptool_marshal.list --body --prefix=_rpt_marshal > $@ + $(GLIB_GENMARSHAL) $(srcdir)/reptool_marshal.list --body --prefix=_rpt_marshal > $(srcdir)/$@ rptmarshal.h: reptool_marshal.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) reptool_marshal.list --header --prefix=_rpt_marshal > $@ + $(GLIB_GENMARSHAL) $(srcdir)/reptool_marshal.list --header --prefix=_rpt_marshal > $(srcdir)/$@ libreptool_la_SOURCES = \ parser.tab.c \