1 SUBDIRS = mbr geodsp 2 3 all tidy dist clean spotless install: 4 @mkdir -p $(addprefix $(OBJ)/,$(SUBDIRS)) 5 set -e; for d in $(SUBDIRS); \ 6 do $(MAKE) -C $(OBJ)/$$d -f $(SRC)/$$d/Makefile \ 7 SRC="$(SRC)"/$$d OBJ="$(OBJ)"/$$d $@; done 8