-
-
Save dch/9909562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APPDIRS := $(wildcard apps/*) | |
## Example hack to filter one out: | |
## APPDIRS := $(filter-out apps/fooapp, $(APPDIRS)) | |
define PROXY_TARGET | |
$(1): | |
$(foreach appdir,$(APPDIRS),$(MAKE) -C $(appdir) $(1) ;) | |
endef | |
## add erlang.mk targets you care about here: | |
PROXY_TARGETS = all app clean built-plt dialyze docs tests | |
$(foreach targ,$(PROXY_TARGETS),$(eval $(call PROXY_TARGET,$(targ)))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment