diff options
author | Lukas Larsson <[email protected]> | 2019-03-05 16:04:18 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-03-25 13:36:24 +0100 |
commit | 65f78b464a4a58a634e1767f8b55718da974b3ce (patch) | |
tree | 4b919eaf9f5df078d86789bb6e6d54818333fc72 | |
parent | 7baaabb297d0687564f147061a38cd8501b89ae9 (diff) | |
download | otp-65f78b464a4a58a634e1767f8b55718da974b3ce.tar.gz otp-65f78b464a4a58a634e1767f8b55718da974b3ce.tar.bz2 otp-65f78b464a4a58a634e1767f8b55718da974b3ce.zip |
Add makefile targets for all applications in top makefile
-rw-r--r-- | Makefile.in | 23 |
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}" \ |