MODES=00 01 10 11 all: for i in ${MODES}; do \ make -f run_mode.makefile MODE="$$i"; \ make -f run_mode.makefile MODE="$$i" PREFIX="read_only_" MASTER_TYPE="_no_write" SLAVE_TYPE="_no_read"; \ done clean: rm -rf obj_dir mode[01][01]* read_only_mode[01][01]*