DIRS = DIRS += openwsn all:: @for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ; # remove compilation products clean:: @for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;