diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index c1e3046..4746c81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,18 @@ SUBDIRS = libdimension \ EXTRA_DIST = autogen.sh +if PGO +all-recursive: + cd $(top_builddir)/libdimension && $(MAKE) $(AM_MAKEFLAGS) libdimension-pgo.la + cd $(top_builddir)/tests/libdimension && $(MAKE) check + @for gcda in $(top_builddir)/tests/libdimension/pgo/.libs/*_pgo*.gcda; do \ + mv $$gcda $${gcda/_pgo/}; \ + done + cd $(top_builddir)/libdimension && $(MAKE) $(AM_MAKEFLAGS) libdimension.la + cd $(top_builddir)/dimension && $(MAKE) $(AM_MAKEFLAGS) all + cd $(top_builddir)/doc && $(MAKE) $(AM_MAKEFLAGS) all +endif + bench: all-recursive cd bench && $(MAKE) $(AM_MAKEFLAGS) bench |