Running make in a set of subdirectories
.
├── Makefile
├── scripts
│ └── Makefile
└── tasks
└── MakefileSUBDIRS = scripts tekton
TOPTARGETS = all lint test
$(TOPTARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: $(SUBDIRS) $(TOPTARGETS)Last updated