SUBDIRS = Accessories Browser Editor Mailer Panel Player Surfer all: subdirs subdirs: @for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done clean: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done distclean: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done install: all @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done uninstall: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done .PHONY: all subdirs clean distclean install uninstall