Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 545 Bytes
SUBDIRS = plugins
INSTALLDIRS = $(SUBDIRS:%=install-%)
CLEANDIRS = $(SUBDIRS:%=clean-%)
CLOBBERDIRS = $(SUBDIRS:%=clobber-%)
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
install: $(INSTALLDIRS)
$(INSTALLDIRS):
$(MAKE) -C $(@:install-%=%) install
clean: $(CLEANDIRS)
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
clobber: $(CLOBBERDIRS)
$(CLOBBERDIRS):
$(MAKE) -C $(@:clobber-%=%) clobber
.PHONY: subdirs $(SUBDIRS)
.PHONY: subdirs $(INSTALLDIRS)
.PHONY: subdirs $(CLEANDIRS)
.PHONY: subdirs $(CLOBBERDIRS)
.PHONY: install clean clobber