summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2019-03-05 16:04:18 +0100
committerLukas Larsson <lukas@erlang.org>2019-03-25 13:36:24 +0100
commit65f78b464a4a58a634e1767f8b55718da974b3ce (patch)
tree4b919eaf9f5df078d86789bb6e6d54818333fc72 /Makefile.in
parent7baaabb297d0687564f147061a38cd8501b89ae9 (diff)
downloaderlang-65f78b464a4a58a634e1767f8b55718da974b3ce.tar.gz
Add makefile targets for all applications in top makefile
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 3 insertions, 20 deletions
diff --git a/Makefile.in b/Makefile.in
index 49a0d9f8af..6cbd92a55b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -492,31 +492,14 @@ else
$(MAKE) opt BUILD_ALL=true
$(V_at)test -f $(ERL_TOP)/make/otp_built || echo "OTP built" > $(ERL_TOP)/make/otp_built
endif
-kernel:
- $(make_verbose)cd lib/kernel && \
- ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
- $(MAKE) opt BUILD_ALL=true
-stdlib:
- $(make_verbose)cd lib/stdlib && \
- ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
- $(MAKE) opt BUILD_ALL=true
+APPS=$(patsubst $(ERL_TOP)/lib/%/doc,%,$(wildcard $(ERL_TOP)/lib/*/doc))
-compiler:
- $(make_verbose)cd lib/compiler && \
+$(APPS):
+ $(make_verbose)cd lib/$@ && \
ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
$(MAKE) opt BUILD_ALL=true
-hipe:
- $(make_verbose)cd lib/hipe && \
- ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
- $(MAKE) opt BUILD_ALL=true
-
-syntax_tools:
- $(make_verbose)cd lib/syntax_tools && \
- ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
- $(MAKE) opt BUILD_ALL=true
-
preloaded:
$(make_verbose)cd erts/preloaded/src && \
ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \