12 lines
200 B
Makefile
12 lines
200 B
Makefile
|
SUBDIRS = $(subst /Makefile,,$(wildcard */Makefile))
|
||
|
|
||
|
.PHONY: subdirs clean $(SUBDIRS)
|
||
|
|
||
|
subdirs: $(SUBDIRS)
|
||
|
|
||
|
$(SUBDIRS):
|
||
|
$(MAKE) -C $@
|
||
|
|
||
|
clean:
|
||
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir clean; done
|