diff options
author | Björn Gustavsson <[email protected]> | 2017-05-17 11:34:45 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-17 11:34:45 +0200 |
commit | 79fd4b7c7b77330accae77f0ff90843ea5aed20d (patch) | |
tree | 0a930757513be7e674c5cbb0dadf5b02fd7c8b1f /erts/Makefile | |
parent | a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c (diff) | |
parent | f3e32131000fc081cbaf2a1ca15f265783fbc040 (diff) | |
download | otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.tar.gz otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.tar.bz2 otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.zip |
Merge pull request #1463 from bjorng/bjorn/simplify-building-lcnt/OTP-14407
Simplify building a lock-counting emulator
Diffstat (limited to 'erts/Makefile')
-rw-r--r-- | erts/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/erts/Makefile b/erts/Makefile index e9928b6b47..12d2ec57a8 100644 --- a/erts/Makefile +++ b/erts/Makefile @@ -40,8 +40,8 @@ all: $(FLAVORS) docs: $(V_at)( cd doc/src && $(MAKE) $@ ) -.PHONY: debug opt clean -debug opt clean: +.PHONY: debug opt lcnt clean +debug opt lcnt clean: $(V_at)for d in emulator $(ERTSDIRS); do \ if test -d $$d; then \ ( cd $$d && $(MAKE) $@ FLAVOR=$(FLAVOR) ) || exit $$? ; \ @@ -56,7 +56,9 @@ debug opt clean: .PHONY: $(FLAVORS) $(FLAVORS): - $(V_at)( $(MAKE) opt FLAVOR=$@ ) + $(V_at)for type in $(TYPES); do \ + ( $(MAKE) $$type FLAVOR=$@ ); \ + done # Make erl script and erlc in $(ERL_TOP)/bin which runs the compiled version # Note that erlc is not a script and requires extra handling on cygwin. @@ -128,7 +130,9 @@ makefiles: .PHONY: release release: $(V_at)for f in $(FLAVORS); do \ - ( cd emulator && $(MAKE) release FLAVOR=$$f ) \ + for t in $(TYPES); do \ + ( cd emulator && $(MAKE) release FLAVOR=$$f TYPE=$$t ) \ + done \ done $(V_at)for d in $(ERTSDIRS) $(XINSTDIRS); do \ if test -d $$d; then \ |