diff options
Diffstat (limited to 'c++/Makefile.am')
-rw-r--r-- | c++/Makefile.am | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c++/Makefile.am b/c++/Makefile.am index c4d6209..c4e1c44 100644 --- a/c++/Makefile.am +++ b/c++/Makefile.am @@ -24,23 +24,23 @@ DIST_SUBDIRS = $(SUBDIRS) examples # Clean and mostlyclean need to recurse into examples directory clean-local: - if test -f examples/Makefile; then \ - (cd examples && $(MAKE) clean) || exit 1; \ + if test -f examples/Makefile; then \ + (cd examples && $(MAKE) $(AM_MAKEFLAGS) clean) || exit 1; \ fi; mostlyclean-local: - if test -f examples/Makefile; then \ - (cd examples && $(MAKE) mostlyclean) || exit 1; \ + if test -f examples/Makefile; then \ + (cd examples && $(MAKE) $(AM_MAKEFLAGS) mostlyclean) || exit 1; \ fi; # Install examples install-examples uninstall-examples: - (cd examples && $(MAKE) $@) || exit 1; + (cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; # Check that examples can be successfully built check-install: - $(MAKE) installcheck + $(MAKE) $(AM_MAKEFLAGS) installcheck installcheck-local: - (cd examples && $(MAKE) $@) || exit 1; + (cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; include $(top_srcdir)/config/conclude.am |