SUBDIRS=atc ceiling exceptions rt_delay tasks nested_atc dynamic_prior hello protobj rtfifo get_line .PHONY: dummy all: rec_make clean: rec_make # Note that makefiles must be called with -j1 flag to avoid parallel # execution of several compilation. rec_make: dummy @$(foreach i,$(SUBDIRS), $(MAKE) -j1 -C $i $(MAKECMDGOALS); ) @echo -e "\n\nDone.."