diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/rel.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/rel.mk b/core/rel.mk new file mode 100644 index 0000000..d7617a3 --- /dev/null +++ b/core/rel.mk @@ -0,0 +1,19 @@ +# Copyright (c) 2015, Loïc Hoguin <[email protected]> +# This file is part of erlang.mk and subject to the terms of the ISC License. + +.PHONY: rel-deps + +# Configuration. + +ALL_REL_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(REL_DEPS)) + +# Targets. + +$(foreach dep,$(REL_DEPS),$(eval $(call dep_target,$(dep)))) + +ifneq ($(SKIP_DEPS),) +rel-deps: +else +rel-deps: $(ALL_REL_DEPS_DIRS) + $(verbose) for dep in $(ALL_REL_DEPS_DIRS) ; do $(MAKE) -C $$dep; done +endif |