From 707c8656a12aff8104f627310271da8bee5efc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Sep 2015 17:33:19 +0200 Subject: Add REL_DEPS along with its test --- core/rel.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 core/rel.mk (limited to 'core/rel.mk') 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 +# 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 -- cgit v1.2.3