WUT_ROOT := $(CURDIR) TARGETS := crt rpl all: @for dir in $(TARGETS); do \ echo; \ echo Entering Directory $$dir; \ $(MAKE) --no-print-directory -C $$dir; \ echo Leaving Directory $$dir; \ done clean: @rm -rf lib @for dir in $(TARGETS); do \ echo Cleaning $$dir; \ $(MAKE) --no-print-directory -C $$dir clean; \ done install: @mkdir -p lib @for dir in $(TARGETS); do \ echo Installing $$dir; \ $(MAKE) --no-print-directory -C $$dir install; \ done .PHONY: all clean install