Mk = $(addsuffix .mk, aufs cloop sq40para sq40tools sq40lzma sqlzma34) define do_all set -e; \ for i in ${Mk}; \ do ${MAKE} -${MAKEFLAGS} -f $${i} ${1}; \ done endef all: $(call do_all, $@) @echo make targets for test are \"${Test}\". clean: Mk += decomp_gen.mk clean realclean: $(call do_all, $@) sh ./decomp.sh clean ${RM} *~ ######################################## rc: sh ./rc.sh | tee "$(shell uname -r).result" -include priv.mk