2019-12-18 17:35:46 -06:00
|
|
|
subdirs: $(SUBDIRS)
|
|
|
|
$(SUBDIRS):
|
2019-12-27 23:50:39 -06:00
|
|
|
@flock $@ $(MAKE) -C $@
|
2019-12-18 17:35:46 -06:00
|
|
|
|
|
|
|
all: $(subdirs)
|
|
|
|
|
|
|
|
SUBDIRS_CLEAN = $(addsuffix .clean,$(SUBDIRS))
|
|
|
|
clean: $(SUBDIRS_CLEAN)
|
|
|
|
$(SUBDIRS_CLEAN): %.clean:
|
2019-12-27 23:50:39 -06:00
|
|
|
@flock $* $(MAKE) -C $* clean
|
2019-12-18 17:35:46 -06:00
|
|
|
|
|
|
|
SUBDIRS_INSTALL = $(addsuffix .install,$(SUBDIRS))
|
|
|
|
install: $(SUBDIRS_INSTALL)
|
|
|
|
$(SUBDIRS_INSTALL): %.install:
|
2019-12-27 23:50:39 -06:00
|
|
|
@flock $* $(MAKE) -C $* install
|
2019-12-18 17:35:46 -06:00
|
|
|
|
|
|
|
.PHONY: all clean install $(SUBDIRS)
|