1# ``Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5#     http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12#
13# The Initial Developer of the Original Code is Ericsson Utvecklings AB.
14# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
15# AB. All Rights Reserved.''
16#
17#     $Id$
18#
19# ----------------------------------------------------
20# This make include file runs make recursively on the Makefile
21# in the architecture dependent subdirectory.
22#
23# Typical use from Makefile:
24#
25#    include $(ERL_TOP)/make/run_make.mk
26#
27# ----------------------------------------------------
28
29include $(ERL_TOP)/make/output.mk
30include $(ERL_TOP)/make/target.mk
31
32.PHONY: valgrind asan
33
34opt debug valgrind asan gcov gprof lcnt frmptr icount:
35	$(make_verbose)$(MAKE) -f $(TARGET)/Makefile TYPE=$@
36
37emu jit:
38	$(make_verbose)$(MAKE) -f $(TARGET)/Makefile FLAVOR=$@
39
40clean generate depend docs release release_spec release_docs release_docs_spec \
41  tests release_tests release_tests_spec static_lib xmllint format format-check compdb:
42	$(make_verbose)$(MAKE) -f $(TARGET)/Makefile $@
43