Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 296 Bytes
MAKEFILES := $(wildcard **/Makefile)
SUBDIRS := $(dir $(MAKEFILES))
.PHONY: all pkg clean
all:
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir; \
done
pkg:
@for dir in $(SUBDIRS); do \
$(MAKE) pkg -C $$dir; \
done
clean:
@for dir in $(SUBDIRS); do \
$(MAKE) clean -C $$dir; \
done