mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
15 lines
No EOL
548 B
Makefile
15 lines
No EOL
548 B
Makefile
all: $(filter-out README.md Makefile,$(wildcard *))
|
|
|
|
$(filter-out README.md Makefile,$(wildcard *)):
|
|
$(eval DIR=$(firstword $(subst /, ,$@)))
|
|
$(MAKE) -w -C $(DIR)
|
|
|
|
$(filter-out README.md Makefile,$(wildcard */*)):
|
|
$(eval DIR=$(firstword $(subst /, ,$@)))
|
|
$(eval TARGET=$(subst $(DIR)/,,$@))
|
|
$(MAKE) -w -C $(DIR) $(TARGET)
|
|
|
|
install-deps:
|
|
$(foreach DIR,$(filter-out README.md Makefile,$(wildcard *)),$(MAKE) -w -C $(DIR) install-deps;)
|
|
|
|
.PHONY: all $(filter-out README.md Makefile,$(wildcard *)) $(filter-out README.md Makefile,$(wildcard */*)) |