SUBDIRS := $(wildcard */.) VERSION = 24.09 install: @for dir in $(SUBDIRS) ; do \ $(MAKE) -C "$$dir" VERSION=\"$(VERSION)\" install ; \ done uninstall: @for dir in $(SUBDIRS) ; do \ $(MAKE) -C "$$dir" uninstall ; \ done .PHONY: install uninstall