DIRS = acquisition/src

all: $(DIRS)

.PHONY: $(DIRS) $(DIRS:%=install_%) $(DIRS:%=depend_%) $(DIRS:%=clean_%) all install depend clean

install: $(DIRS:%=install_%)

depend: $(DIRS:%=depend_%)

clean: $(DIRS:%=clean_%)

$(DIRS):
	$(MAKE) -C $@

$(DIRS:%=install_%):
	-$(MAKE) -C $(@:install_%=%) install

$(DIRS:%=depend_%):
	-$(MAKE) -C $(@:depend_%=%) depend

$(DIRS:%=clean_%):
	-$(MAKE) -C $(@:clean_%=%) clean

