FOLDER ?= lib

TARGETS = $(shell find $(FOLDER)/ -name "*.make")
INSTR := $(foreach number,$(TARGETS),make -C $(shell dirname $(number)) -f $(shell basename $(number)) $(MAKECMDGOALS) &&) true

all:
	$(INSTR)

elaborate:
	$(INSTR)
	
run:
	$(INSTR)

run_wave:
	$(INSTR)

clean:
	$(INSTR)

mrproper:
	$(INSTR)

