# emacs should use -*- Makefile -*- mode. # JOBS can be set to "-j n" to do parallel makes in subdirectories default:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(JOBS)) || exit 1; \ done ifndef DODEPEND DODEPENDOPT = "DODEPEND=no" endif install:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) install) || exit 1; \ done install_devel:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) install_devel) || exit 1; \ done install_inc:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) install_inc) || exit 1; \ done install_target:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) install_target) || exit 1; \ done testbuild:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) testbuild) || exit 1; \ done testrun:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) testrun) || exit 1; \ done doc:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) doc) || exit 1; \ done clean:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) clean) || exit 1; \ done testclean:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) testclean) || exit 1; \ done oclean:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) oclean) || exit 1; \ done dclean:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) dclean) || exit 1; \ done distclean:: for dir in $(SUBDIRS); \ do \ (cd $${dir} && $(MAKE) $(DODEPENDOPT) distclean) || exit 1; \ done