I have a number of subdirectories, with Makefiles inside, and I want a "master" Makefile that basically calls Makefiles in those directories:
Makefile
foo/Makefile
bar/Makefile
So that typing make foo in root directory is equivalent to cd foo && make. I can write simple Makefile to acieve this:
foo:
cd foo && make
bar:
cd bar && make
But I don't want to list those subdirectories, so I can add new directory with Makefile without having to modify "master" Makefile.